jormungandr-bite/packages/backend/migration/1678426061773-tweak-varchar-length.js
ThatOneCalculator d425c29347 refactor: 🚨 linting fix
2023-07-16 15:32:32 -07:00

16 lines
398 B
JavaScript

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) {}
}