access - модуль

This commit is contained in:
2019-10-22 18:03:40 +03:00
parent 562c4a925e
commit 34dd9f3f37
21 changed files with 1790 additions and 524 deletions

View File

@ -0,0 +1,29 @@
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%accesses}}`.
*/
class m191021_085640_create_accesses_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('{{%accesses}}', [
'id' => $this->primaryKey(),
'name' => $this->string(),
'access' => $this->string(),
]);
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropTable('{{%accesses}}');
}
}