change accesses table access column to text type

This commit is contained in:
Leorne committed 2019-12-06 13:46:06 +03:00
1 parent 888080229a
commit 8c1c2cf5cd
2 files changed
+19 -1

No files matched your search

@@ -0,0 +1,17 @@
<?php
use yii\db\Migration;
/**
* Class m191206_100300_accesses_table_access_field_to_text_type
*/
class m191206_100300_accesses_table_access_field_to_text_type extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->alterColumn('accesses', 'access', 'text');
}
}