diff --git a/console/migrations/m180830_091730_alter_table_language.php b/console/migrations/m180830_091730_alter_table_language.php new file mode 100644 index 0000000..56a6d86 --- /dev/null +++ b/console/migrations/m180830_091730_alter_table_language.php @@ -0,0 +1,40 @@ +addColumn('language', 'short', $this->string()); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->dropColumn('language', 'short'); + } + + /* + // Use up()/down() to run migration code without a transaction. + public function up() + { + + } + + public function down() + { + echo "m180830_091730_alter_table_language cannot be reverted.\n"; + + return false; + } + */ +} diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 3791b66..303e71c 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -101,16 +101,7 @@
@@ -165,12 +156,7 @@