Added dashboard currency setting migration

Added dashboard currency setting migration
This commit is contained in:
cp6 2022-05-29 11:40:13 +10:00
parent 4c333c5e6b
commit 319be38fa9

View File

@ -0,0 +1,19 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDashCurrencySetting extends Migration
{
public function up()
{
Schema::table('settings', function (Blueprint $table) {
$table->char('dashboard_currency', 3)->default('USD');
});
}
public function down()
{
}
}