From 606f18950f1c7465cb633c421a87be99fe564d65 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Sun, 25 Sep 2016 13:32:42 +0200 Subject: [PATCH] Add new flag / flag_out logick --- ...er__table__card__add__column__validity.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 console/migrations/m160919_061627_alter__table__card__add__column__validity.php diff --git a/console/migrations/m160919_061627_alter__table__card__add__column__validity.php b/console/migrations/m160919_061627_alter__table__card__add__column__validity.php new file mode 100644 index 0000000..f32c848 --- /dev/null +++ b/console/migrations/m160919_061627_alter__table__card__add__column__validity.php @@ -0,0 +1,30 @@ +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() + { + } + */ +}