parent
63b3666b71
commit
9c2264fb8e
2 changed files with 12 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
|||
export class tweakVarcharLength1678426061773 {
|
||||
name = 'tweakVarcharLength1678426061773'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "smtpUser" TYPE character varying(1024)`, undefined);
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "smtpPass" TYPE character varying(1024)`, undefined);
|
||||
}
|
||||
|
||||
async down(queryRunner) {}
|
||||
}
|
|
@ -326,13 +326,13 @@ export class Meta {
|
|||
public smtpPort: number | null;
|
||||
|
||||
@Column("varchar", {
|
||||
length: 128,
|
||||
length: 1024,
|
||||
nullable: true,
|
||||
})
|
||||
public smtpUser: string | null;
|
||||
|
||||
@Column("varchar", {
|
||||
length: 128,
|
||||
length: 1024,
|
||||
nullable: true,
|
||||
})
|
||||
public smtpPass: string | null;
|
||||
|
|
Loading…
Reference in a new issue