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:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user