mirror of
https://github.com/flarum/core.git
synced 2025-08-18 06:11:23 +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('users', function (Blueprint $table) use ($schema) {
|
||||
$schema->table('users', function (Blueprint $table) {
|
||||
$table->index('joined_at');
|
||||
$table->index('last_seen_at');
|
||||
$table->index('discussion_count');
|
||||
@@ -23,7 +23,7 @@ return [
|
||||
},
|
||||
|
||||
'down' => function (Builder $schema) {
|
||||
$schema->table('users', function (Blueprint $table) use ($schema) {
|
||||
$schema->table('users', function (Blueprint $table) {
|
||||
$table->dropIndex(['joined_at']);
|
||||
$table->dropIndex(['last_seen_at']);
|
||||
$table->dropIndex(['discussion_count']);
|
||||
|
Reference in New Issue
Block a user