rudeshark.net/packages/backend/migration/1678426061773-tweak-varchar-length.js

17 lines
398 B
JavaScript
Raw Normal View History

export class tweakVarcharLength1678426061773 {
2023-07-17 00:32:32 +02:00
name = "tweakVarcharLength1678426061773";
2023-07-17 00:32:32 +02:00
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,
);
}
2023-07-17 00:32:32 +02:00
async down(queryRunner) {}
}