This commit is contained in:
Ethan Lane 2024-09-27 18:01:00 +01:00
parent 789d5d6410
commit 9d6c2d1bb2
3 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,5 @@ CREATE TABLE `user_setting` (
`WhenUpdated` datetime NOT NULL,
`UserId` varchar(255) NOT NULL,
`Key` varchar(255) NOT NULL,
`Value` varchar(255) NOT NULL,
`Value` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
ALTER TABLE `user_setting`
ADD PRIMARY KEY (`Id`);

View file

@ -0,0 +1,2 @@
ALTER TABLE user_setting
ADD PRIMARY KEY (Id);

View file

@ -6,6 +6,7 @@ export class CreateUserSetting1727286976268 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
MigrationHelper.Up('1727286976268-CreateUserSetting', '3.3.0', [
"01-UserSetting",
"02-UserSettingKey",
], queryRunner);
}