diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/stagingMigration/postgres/1672815835837-staging.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/stagingMigration/postgres/1672815835837-staging.js b/scripts/stagingMigration/postgres/1672815835837-staging.js index 60609dae..675f84ca 100644 --- a/scripts/stagingMigration/postgres/1672815835837-staging.js +++ b/scripts/stagingMigration/postgres/1672815835837-staging.js @@ -130,11 +130,23 @@ module.exports = class staging1672815835837 { await queryRunner.query( `ALTER TABLE "members" ADD "premium_since" bigint`, ); + await queryRunner.query( + `ALTER TABLE members ADD theme_colors text` + ); + await queryRunner.query( + `ALTER TABLE members ADD pronouns varchar` + ); await queryRunner.query(`UPDATE users SET bio = '' WHERE bio IS NULL`); await queryRunner.query( `ALTER TABLE users ALTER COLUMN bio SET NOT NULL`, ); await queryRunner.query( + `ALTER TABLE users ADD theme_colors text` + ); + await queryRunner.query( + `ALTER TABLE users ADD pronouns varchar` + ); + await queryRunner.query( `UPDATE users SET mfa_enabled = false WHERE mfa_enabled IS NULL`, ); await queryRunner.query( @@ -145,5 +157,5 @@ module.exports = class staging1672815835837 { ); } - async down(queryRunner) {} + async down(queryRunner) { } }; |