import { Column, DataType, Index, Model, Table } from 'sequelize-typescript'; @Table({ timestamps: true }) export class LegacyDscValidators extends Model { @Index({ name: 'legacyDscValidators-dsc-index', unique: true, }) @Column({ type: DataType.STRING, primaryKey: true }) dsc: string; @Index({ name: 'legacyDscValidators-legacy-index', unique: true, }) @Column(DataType.STRING) legacy: string; }