From 78630e56fc2f269c8fbee7a79e7f2746df4e0773 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Fri, 1 Jun 2018 16:10:20 +0300 Subject: [PATCH] - footer links - bug fix package --- console/migrations/m180601_112037_alter_table_package.php | 40 ++++++++++++++++++++++++++++++++++++++++ frontend/views/layouts/main.php | 6 +++--- 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 console/migrations/m180601_112037_alter_table_package.php diff --git a/console/migrations/m180601_112037_alter_table_package.php b/console/migrations/m180601_112037_alter_table_package.php new file mode 100644 index 0000000..5cd4945 --- /dev/null +++ b/console/migrations/m180601_112037_alter_table_package.php @@ -0,0 +1,40 @@ +addColumn('package', 'image_id', $this->integer()); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->dropColumn('package', 'image_id'); + } + + /* + // Use up()/down() to run migration code without a transaction. + public function up() + { + + } + + public function down() + { + echo "m180601_112037_alter_table_package cannot be reverted.\n"; + + return false; + } + */ +} diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index f5f1930..d53383a 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -317,8 +317,8 @@
  • О нас
  • Контакты
  • Второе мнение
  • -
  • Вопрос-ответ
  • -
  • Отзывы
  • +
  • Вопрос-ответ
  • +
  • Отзывы
  • @@ -358,7 +358,7 @@
    © Все права защищены, 2018. ABClinic
    -- libgit2 0.21.4