diff options
author | Joas Schilling <coding@schilljs.com> | 2020-08-24 13:38:53 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-25 09:47:08 +0300 |
commit | be31ca697fa430341f47b4057a9ec4b0c7e7af22 (patch) | |
tree | edb4ed6b4eb6cab4a13bba327ed1b0f35913f392 /lib/Migration | |
parent | 6ee5c0476d21ea62d5ff7f7077e59492097f7440 (diff) |
Fix migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version10000Date20200819121721.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Migration/Version10000Date20200819121721.php b/lib/Migration/Version10000Date20200819121721.php index 993b738bc..c15fa02db 100644 --- a/lib/Migration/Version10000Date20200819121721.php +++ b/lib/Migration/Version10000Date20200819121721.php @@ -56,6 +56,8 @@ class Version10000Date20200819121721 extends SimpleMigrationStep { 'notnull' => true, ]); $table->addUniqueIndex(['room_id'], 'tbr_room_id'); + + $table->setPrimaryKey(['id']); } return $schema; |