diff --git a/database/migrations/2020_12_23_220648_remove_null_values_in_countries_table.php b/database/migrations/2020_12_23_220648_remove_null_values_in_countries_table.php new file mode 100644 index 000000000000..02c1e9ed7502 --- /dev/null +++ b/database/migrations/2020_12_23_220648_remove_null_values_in_countries_table.php @@ -0,0 +1,32 @@ +update(['thousand_separator' => '']); + $countries = Country::whereNull('decimal_separator')->update(['decimal_separator' => '']); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('countries', function (Blueprint $table) { + // + }); + } +}