set migration newcountry default to 76 (france)

This commit is contained in:
Jérémy Munsch 2021-08-17 14:41:00 +02:00
parent 6d87c2d590
commit 2c09c6fd85

View file

@ -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');
});
}