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) {
|
Schema::create('link_codes', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->bigInteger('lodestoneId');
|
$table->bigInteger('lodestoneId')->unique();
|
||||||
$table->bigInteger('discordUserId')->nullable();
|
$table->bigInteger('discordUserId')->nullable();
|
||||||
$table->bigInteger('websiteUserId')->nullable();
|
$table->bigInteger('websiteUserId')->nullable();
|
||||||
$table->dateTime('expires');
|
$table->dateTime('expires');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user