dbmigrate: 20180607222058_user_remove_github_user.php
This commit is contained in:
parent
25d8e712e4
commit
3d5481ed80
1 changed files with 14 additions and 0 deletions
14
app/migrations/20180607222058_user_remove_github_user.php
Normal file
14
app/migrations/20180607222058_user_remove_github_user.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
|
||||
use Phinx\Migration\AbstractMigration;
|
||||
|
||||
class UserRemoveGithubUser extends AbstractMigration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->table('user')
|
||||
->removeColumn('github_user')
|
||||
->save();
|
||||
}
|
||||
}
|
||||
Reference in a new issue