mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
17 lines
543 B
TypeScript
17 lines
543 B
TypeScript
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
export class tweakVarcharLength1678426061773 implements MigrationInterface {
|
|
name = "tweakVarcharLength1678426061773";
|
|
|
|
async up(queryRunner: QueryRunner): Promise<void> {
|
|
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: QueryRunner): Promise<void> {}
|
|
}
|