From 78e36664ab0ab59d66b62a43fc556912be980350 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Tue, 8 Dec 2015 22:28:16 +0100 Subject: [PATCH] add migration add column id_key to customer --- ...ter__table__customer__add__column__key.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 console/migrations/m151208_212339_alter__table__customer__add__column__key.php diff --git a/console/migrations/m151208_212339_alter__table__customer__add__column__key.php b/console/migrations/m151208_212339_alter__table__customer__add__column__key.php new file mode 100644 index 0000000..2a4cca8 --- /dev/null +++ b/console/migrations/m151208_212339_alter__table__customer__add__column__key.php @@ -0,0 +1,30 @@ +addColumn("customer", "id_key", "int"); + } + + public function down() + { + echo "m151208_212339_alter__table__customer__add__column__key cannot be reverted.\n"; + + return false; + } + + /* + // Use safeUp/safeDown to run migration code within a transaction + public function safeUp() + { + } + + public function safeDown() + { + } + */ +}