Skip to content

Commit

Permalink
Be sure to make email nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 4, 2017
1 parent f1ac112 commit f03d557
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class AlterTableSubscribersAddPhoneNumberSlackColumns extends Migration
public function up()
{
Schema::table('subscribers', function (Blueprint $table) {
$table->string('email')->nullable()->default(null)->change();
$table->string('phone_number')->nullable()->default(null)->after('verify_code');
$table->string('slack_webhook_url')->nullable()->default(null)->after('phone_number');
});
Expand Down

0 comments on commit f03d557

Please sign in to comment.