mirror of
https://github.com/flarum/core.git
synced 2025-08-12 19:34:18 +02:00
further revert #96e2824
This commit is contained in:
@@ -14,13 +14,13 @@ use Illuminate\Database\Schema\Builder;
|
||||
|
||||
return [
|
||||
'up' => function (Builder $schema) {
|
||||
$schema->table('notifications', function (Blueprint $table) use ($schema) {
|
||||
$schema->table('notifications', function (Blueprint $table) {
|
||||
$table->index('user_id');
|
||||
});
|
||||
},
|
||||
|
||||
'down' => function (Builder $schema) {
|
||||
$schema->table('notifications', function (Blueprint $table) use ($schema) {
|
||||
$schema->table('notifications', function (Blueprint $table) {
|
||||
$table->dropIndex(['user_id']);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user