update api for manager

This commit is contained in:
iIronside
2022-01-05 17:11:31 +03:00
parent dccf3c012e
commit 18b7fb0765
19 changed files with 5168 additions and 50 deletions

View File

@ -0,0 +1,22 @@
<?php
use yii\db\Migration;
/**
* Class m211228_123343_add_column_template_file_to_template_table
*/
class m211228_123343_add_column_template_file_to_template_table extends Migration
{
public function safeUp()
{
$this->addColumn('template', 'template_file_name', $this->string(255));
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropColumn('template', 'template_file_name');
}
}