From 2c09c6fd8557912c80c961f84753bacbf83c6b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 17 Aug 2021 14:41:00 +0200 Subject: [PATCH] set migration newcountry default to 76 (france) --- ..._03_163527_add_newcountry_column_to_customer_infos_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2021_08_03_163527_add_newcountry_column_to_customer_infos_table.php b/database/migrations/2021_08_03_163527_add_newcountry_column_to_customer_infos_table.php index 27e496e..d11403a 100644 --- a/database/migrations/2021_08_03_163527_add_newcountry_column_to_customer_infos_table.php +++ b/database/migrations/2021_08_03_163527_add_newcountry_column_to_customer_infos_table.php @@ -14,7 +14,7 @@ class AddNewcountryColumnToCustomerInfosTable extends Migration public function up() { Schema::table('customer_infos', function (Blueprint $table) { - $table->smallInteger('newcountry')->after('country'); + $table->smallInteger('newcountry')->default(76)->after('country'); }); }