mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update migration
This commit is contained in:
parent
a385ebb2a8
commit
3c6ddffe8b
1 changed files with 8 additions and 8 deletions
|
@ -54,35 +54,35 @@ class AddSoftDeleteIndexes extends Migration
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::table('avatars', function (Blueprint $table) {
|
Schema::table('avatars', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','avatars_deleted_at_index');
|
$table->dropIndex('avatars_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('profiles', function (Blueprint $table) {
|
Schema::table('profiles', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','profiles_deleted_at_index');
|
$table->dropIndex('profiles_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('mentions', function (Blueprint $table) {
|
Schema::table('mentions', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','mentions_deleted_at_index');
|
$table->dropIndex('mentions_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('likes', function (Blueprint $table) {
|
Schema::table('likes', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','likes_deleted_at_index');
|
$table->dropIndex('likes_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('statuses', function (Blueprint $table) {
|
Schema::table('statuses', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','statuses_deleted_at_index');
|
$table->dropIndex('statuses_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('media', function (Blueprint $table) {
|
Schema::table('media', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','media_deleted_at_index');
|
$table->dropIndex('media_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('notifications', function (Blueprint $table) {
|
Schema::table('notifications', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','notifications_deleted_at_index');
|
$table->dropIndex('notifications_deleted_at_index');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('users', function (Blueprint $table) {
|
Schema::table('users', function (Blueprint $table) {
|
||||||
$table->dropIndex('deleted_at','users_deleted_at_index');
|
$table->dropIndex('users_deleted_at_index');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue