]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(from parent 1:
a6c20c3
)
Fixed the `AddActivityIndexes` migration's `down()` method
2268/head
author
Gertjan Krol
<redacted>
Tue, 22 Sep 2020 17:22:27 +0000
(19:22 +0200)
committer
Gertjan Krol
<redacted>
Tue, 22 Sep 2020 17:22:27 +0000
(19:22 +0200)
database/migrations/2020_09_19_094251_add_activity_indexes.php
patch
|
blob
|
history
diff --git
a/database/migrations/2020_09_19_094251_add_activity_indexes.php
b/database/migrations/2020_09_19_094251_add_activity_indexes.php
index 544b01e1fc989bc96b52bd42566150e55a00f16c..7d6a270a919c911213d6e0292c016e8f7ee6bad5 100644
(file)
--- a/
database/migrations/2020_09_19_094251_add_activity_indexes.php
+++ b/
database/migrations/2020_09_19_094251_add_activity_indexes.php
@@
-27,8
+27,8
@@
class AddActivityIndexes extends Migration
public function down()
{
Schema::table('activities', function(Blueprint $table) {
- $table->dropIndex('
key
');
- $table->dropIndex('
created_at
');
+ $table->dropIndex('
activities_key_index
');
+ $table->dropIndex('
activities_created_at_index
');
});
}
}