Implemented account deletion. Not all cases covered with tests [skip ci]

This commit is contained in:
ErickSkrauch
2020-06-12 00:27:02 +03:00
parent c86817a93d
commit 0183e54442
56 changed files with 1041 additions and 188 deletions

View File

@@ -0,0 +1,15 @@
<?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');
}
}