1
0
mirror of https://github.com/flarum/core.git synced 2025-08-28 18:40:46 +02:00

further revert #96e2824

This commit is contained in:
Daniël Klabbers
2019-01-15 20:49:06 +01:00
parent 390148456c
commit 54fdc40d87
13 changed files with 26 additions and 26 deletions

View File

@@ -14,7 +14,7 @@ use Illuminate\Database\Schema\Builder;
return [
'up' => function (Builder $schema) {
$schema->table('discussions', function (Blueprint $table) use ($schema) {
$schema->table('discussions', function (Blueprint $table) {
$table->index('last_posted_at');
$table->index('last_posted_user_id');
$table->index('created_at');
@@ -26,7 +26,7 @@ return [
},
'down' => function (Builder $schema) {
$schema->table('discussions', function (Blueprint $table) use ($schema) {
$schema->table('discussions', function (Blueprint $table) {
$table->dropIndex(['last_posted_at']);
$table->dropIndex(['last_posted_user_id']);
$table->dropIndex(['created_at']);