chore: synchronize code and database schema (#8577)
* chore: remove default null null is always the default value if a table column is nullable, and typeorm's @Column only accepts strings for default. * chore: synchronize code with database schema * chore: sync generated migrations with code
This commit is contained in:
parent
bd620a8c77
commit
31c73fdfa2
12 changed files with 108 additions and 27 deletions
|
|
@ -37,7 +37,7 @@ export class Clip {
|
|||
public isPublic: boolean;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 2048, nullable: true, default: null,
|
||||
length: 2048, nullable: true,
|
||||
comment: 'The description of the Clip.',
|
||||
})
|
||||
public description: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue