1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 19:52:36 +01:00

Fix Postgres column type (hopefully)

This commit is contained in:
TomatoCake 2024-07-01 18:25:29 +02:00 committed by Madeline
parent 9d27a5138f
commit b7bf2a11ea

View File

@ -8,7 +8,7 @@ export class NewUserSettings1719776735000 implements MigrationInterface {
"ALTER TABLE user_settings ADD COLUMN friend_discovery_flags integer DEFAULT 0;",
);
await queryRunner.query(
"ALTER TABLE user_settings ADD COLUMN view_nsfw_guilds tinyint DEFAULT 1;",
"ALTER TABLE user_settings ADD COLUMN view_nsfw_guilds boolean DEFAULT true;",
);
}