Fix SQL
This commit is contained in:
parent
789d5d6410
commit
9d6c2d1bb2
3 changed files with 4 additions and 4 deletions
|
@ -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`);
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE user_setting
|
||||
ADD PRIMARY KEY (Id);
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue