Merge pull request #4540 from turbo124/v5-develop

Fixes for country types
This commit is contained in:
David Bomba 2020-12-21 09:55:18 +11:00 committed by GitHub
commit 57ed1571aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -50,8 +50,8 @@ class CreateUsersTable extends Migration
$table->boolean('eea')->default(0);
$table->boolean('swap_postal_code')->default(0);
$table->boolean('swap_currency_symbol')->default(false);
$table->string('thousand_separator')->nullable();
$table->string('decimal_separator')->nullable();
$table->string('thousand_separator')->nullable()->default('');
$table->string('decimal_separator')->nullable()->default('');
});
Schema::create('payment_types', function ($table) {

View File

@ -50,6 +50,8 @@ class CountriesSeeder extends Seeder
'region_code' => $country['region-code'],
'sub_region_code' => $country['sub-region-code'],
'eea' => (bool) $country['eea'],
'thousand_separator' => '',
'decimal_separator' => '',
]);
}
}