Commit e192cceb authored by nanahira's avatar nanahira

fix

parent 8bc07985
Pipeline #3816 passed with stages
in 2 minutes and 8 seconds
import { TimeBase } from './TimeBase.entity'; import { TimeBase } from './TimeBase.entity';
import { Column } from 'typeorm'; import { Column, Entity, Index, PrimaryColumn } from 'typeorm';
@Entity() @Entity()
export class User extends TimeBase {} export class User extends TimeBase {
@PrimaryColumn('varchar', { length: 32 })
id: string;
@Index()
@Column('varchar', { length: 32 })
name: string;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment