mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Add swap currency symbol to currency
This commit is contained in:
parent
8a8534fc74
commit
9d67e54fbb
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AddSwapCurrencySymbolToCurrency extends Migration
|
||||
{
|
||||
const TABLE_NAME = 'currencies';
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table(self::TABLE_NAME,function(Blueprint $table){
|
||||
$table->boolean('swap_currency_symbol')->default(false);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table(self::TABLE_NAME,function(Blueprint $table){
|
||||
$table->dropColumn('swap_currency_symbol');
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user