Skip to content

Commit

Permalink
Migration issue on new setups
Browse files Browse the repository at this point in the history
  • Loading branch information
ilestis committed Dec 23, 2022
1 parent a7ba2fd commit b7ab48d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ public function up()
Schema::create('campaign_invites', function (Blueprint $table) {
$table->increments('id');
$table->integer('campaign_id')->unsigned()->notNull();
$table->unsignedTinyInteger('type_id')
->default(\App\Models\CampaignInvite::TYPE_LINK);
$table->unsignedTinyInteger('type_id');
$table->integer('created_by')->unsigned()->nullable();
$table->string('token', 128);
$table->string('email', 255);
Expand Down

0 comments on commit b7ab48d

Please sign in to comment.