diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-27 12:03:31 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-11-02 13:48:30 +0300 |
commit | 4c0596c510ddfb2c4ab75d21783c92ab7db747e3 (patch) | |
tree | be527ec108e6a1a1d6751450c02c1c3fa1fe90b7 /lib/Migration | |
parent | f65d6f27a55b46f4ef4fb7dbfe6932794b980baa (diff) |
Adjust index names
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version2001Date20171026134605.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Migration/Version2001Date20171026134605.php b/lib/Migration/Version2001Date20171026134605.php index 46a6b11e4..df8171335 100644 --- a/lib/Migration/Version2001Date20171026134605.php +++ b/lib/Migration/Version2001Date20171026134605.php @@ -71,7 +71,7 @@ class Version2001Date20171026134605 extends SimpleMigrationStep { 'length' => 11, ]); - $table->addIndex(['recipient', 'timestamp'], 'vcsig_recipient'); + $table->addIndex(['recipient', 'timestamp'], 'ts_recipient_time'); } if (!$schema->hasTable('talk_rooms')) { @@ -112,7 +112,7 @@ class Version2001Date20171026134605 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['id']); - $table->addUniqueIndex(['token'], 'unique_token'); + $table->addUniqueIndex(['token'], 'tr_room_token'); } if (!$schema->hasTable('talk_participants')) { |