intermediate commit

This commit is contained in:
iIronside
2022-01-07 15:04:11 +03:00
parent e16e72dcc1
commit d31a4757ff
32 changed files with 5163 additions and 270 deletions

View File

@ -0,0 +1,40 @@
<?php
use yii\db\Migration;
/**
* Class m220106_092252_add_column_field_template_document_field_table
*/
class m220106_092252_add_column_field_template_document_field_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('document_field', 'field_template', $this->string());
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropColumn('document_field', 'field_template');
}
/*
// Use up()/down() to run migration code without a transaction.
public function up()
{
}
public function down()
{
echo "m220106_092252_add_column_field_template_document_field_table cannot be reverted.\n";
return false;
}
*/
}