Add new flag / flag_out logick
This commit is contained in:
parent
0ad2dafdeb
commit
606f18950f
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use yii\db\Schema;
|
||||
use yii\db\Migration;
|
||||
|
||||
class m160919_061627_alter__table__card__add__column__validity extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->addColumn("card", "validity", "int default 0");
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
echo "m160919_061627_alter__table__card__add__column__validity cannot be reverted.\n";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
// Use safeUp/safeDown to run migration code within a transaction
|
||||
public function safeUp()
|
||||
{
|
||||
}
|
||||
|
||||
public function safeDown()
|
||||
{
|
||||
}
|
||||
*/
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user