mirror of
https://github.com/elyby/accounts.git
synced 2024-12-23 22:00:06 +05:30
16 lines
311 B
PHP
16 lines
311 B
PHP
<?php
|
|
|
|
use console\db\Migration;
|
|
|
|
class m200611_123017_accounts_deletion extends Migration {
|
|
|
|
public function safeUp() {
|
|
$this->addColumn('accounts', 'deleted_at', $this->integer(11)->unsigned());
|
|
}
|
|
|
|
public function safeDown() {
|
|
$this->dropColumn('accounts', 'deleted_at');
|
|
}
|
|
|
|
}
|