mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Updated ips migration for unique index
Updated ips migration for unique index
This commit is contained in:
parent
b7ce9b7402
commit
df6d85a7ea
@ -15,6 +15,7 @@ class CreateIPsTable extends Migration
|
||||
$table->tinyInteger('is_ipv4')->default(1);
|
||||
$table->tinyInteger('active')->default(1);
|
||||
$table->timestamps();
|
||||
$table->unique(['service_id','address'], 'uni');
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user