fixed table issues

This commit is contained in:
IO
2024-07-27 00:11:39 -06:00
parent 39c37faafc
commit 10c415cdd4
9 changed files with 22 additions and 17 deletions
@@ -1,6 +1,7 @@
import { Entity, PrimaryColumn, Column, OneToMany } from 'typeorm';
import { Entity, PrimaryColumn, Column, OneToMany, Index } from 'typeorm';
@Entity()
@Entity({ name: 'adscripcion' })
@Index('PK_adscripcion', ['id_adscripcion'], { unique: true })
export class Adscripcion {
@PrimaryColumn({ type: 'int', nullable: false })
id_adscripcion: number;