mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Update index name to 'activities_ip_index'
This commit is contained in:
parent
a93254430c
commit
2fd7b1f0d5
@ -14,7 +14,7 @@ class AddIndexForUserIp extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('activities', function (Blueprint $table) {
|
||||
$table->index('ip', 'ip_address_index');
|
||||
$table->index('ip', 'activities_ip_index');
|
||||
});
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ class AddIndexForUserIp extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('activities', function (Blueprint $table) {
|
||||
$table->dropIndex('ip_address_index');
|
||||
$table->dropIndex('activities_ip_index');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user