1
0
Fork 0
mirror of https://github.com/janickiy/yii2-nomer synced 2025-02-12 10:01:52 +00:00
yii2-nomer/migrations/m170512_120833_add_uuid_to_users.php
2020-02-05 06:34:26 +03:00

27 lines
444 B
PHP

<?php
use yii\db\Migration;
class m170512_120833_add_uuid_to_users extends Migration
{
public function up()
{
$this->addColumn('users', 'uuid', $this->string(64));
}
public function down()
{
$this->dropColumn('users', 'uuid');
}
/*
// Use safeUp/safeDown to run migration code within a transaction
public function safeUp()
{
}
public function safeDown()
{
}
*/
}