add non cash money display to account state

This commit is contained in:
2016-10-05 07:56:50 +02:00
parent 7975d6ffc9
commit 8585286150
8 changed files with 454 additions and 279 deletions

View File

@@ -0,0 +1,30 @@
<?php
use yii\db\Schema;
use yii\db\Migration;
class m161004_062500_alter__table__account_state_add_column_non_cash_money extends Migration
{
public function up()
{
$this->addColumn("account_state", "non_cash_money", "int default 0");
}
public function down()
{
echo "m161004_062500_alter__table__account_state_add_column_non_cash_money cannot be reverted.\n";
return false;
}
/*
// Use safeUp/safeDown to run migration code within a transaction
public function safeUp()
{
}
public function safeDown()
{
}
*/
}