Update file 1754754816000-metaRulesLength.js
This commit is contained in:
parent
49c4c2b9ad
commit
521d7d0cf3
1 changed files with 2 additions and 2 deletions
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
export class MetaRulesLength1754754816000 {
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "serverRules" TYPE TEXT`);
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "serverRules" TYPE TEXT[]`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "serverRules" TYPE character varying(280)`);
|
||||
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "serverRules" TYPE character varying(280)[]`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue