Be sure to make email nullable
This commit is contained in:
@@ -23,6 +23,7 @@ class AlterTableSubscribersAddPhoneNumberSlackColumns extends Migration
|
|||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('subscribers', function (Blueprint $table) {
|
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('phone_number')->nullable()->default(null)->after('verify_code');
|
||||||
$table->string('slack_webhook_url')->nullable()->default(null)->after('phone_number');
|
$table->string('slack_webhook_url')->nullable()->default(null)->after('phone_number');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user