Add unique to lodestoneId
This commit is contained in:
parent
d789b64733
commit
c18b9a9c27
@ -15,7 +15,7 @@ class CreateLinkCodesTable extends Migration
|
||||
{
|
||||
Schema::create('link_codes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->bigInteger('lodestoneId');
|
||||
$table->bigInteger('lodestoneId')->unique();
|
||||
$table->bigInteger('discordUserId')->nullable();
|
||||
$table->bigInteger('websiteUserId')->nullable();
|
||||
$table->dateTime('expires');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user