add id_account to door log, add key import to backend with no menu

This commit is contained in:
2016-02-16 21:42:13 +01:00
parent 6221945bb7
commit 0ce6958e0b
11 changed files with 312 additions and 138 deletions

View File

@@ -0,0 +1,30 @@
<?php
use yii\db\Schema;
use yii\db\Migration;
class m160216_201757_alter__table__door_log__add__column_id_account extends Migration
{
public function up()
{
$this->addColumn("door_log", "id_account", "int default null");
}
public function down()
{
echo "m160216_201757_alter__table__door_log__add__column_id_account cannot be reverted.\n";
return false;
}
/*
// Use safeUp/safeDown to run migration code within a transaction
public function safeUp()
{
}
public function safeDown()
{
}
*/
}