From 4b3f58b176c4557985ff98dd476a31a5c2b598b4 Mon Sep 17 00:00:00 2001 From: SoHardKI Date: Tue, 2 Jul 2019 16:02:15 +0300 Subject: [PATCH] add_migrations_for_balance_id --- .../m190702_125838_add_balance_id.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 console/migrations/m190702_125838_add_balance_id.php diff --git a/console/migrations/m190702_125838_add_balance_id.php b/console/migrations/m190702_125838_add_balance_id.php new file mode 100644 index 0000000..188c840 --- /dev/null +++ b/console/migrations/m190702_125838_add_balance_id.php @@ -0,0 +1,25 @@ +addColumn('fields_value', 'balance_id', $this->integer(11)->defaultValue(null)); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->dropColumn('fields_value', 'balance_id'); + } +}