1
0
Fork 1
mirror of https://example.com synced 2024-11-23 09:16:39 +09:00
firefish/packages/backend/migration/1678426061773-tweak-varchar-length.js

17 lines
398 B
JavaScript
Raw Normal View History

2023-07-20 04:17:05 +09:00
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) {}
}