adding app/migrations/20180808200726_user_oauth_linkedin.php
This commit is contained in:
parent
cfdf0cd9fb
commit
160533f88f
1 changed files with 17 additions and 0 deletions
17
app/migrations/20180808200726_user_oauth_linkedin.php
Normal file
17
app/migrations/20180808200726_user_oauth_linkedin.php
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
use Phinx\Migration\AbstractMigration;
|
||||||
|
|
||||||
|
class UserOauthLinkedin extends AbstractMigration
|
||||||
|
{
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
$this->table('user')
|
||||||
|
->addColumn('linkedin_id', 'string', [
|
||||||
|
'limit' => 16,
|
||||||
|
'null' => true,
|
||||||
|
'after' => 'google_id'
|
||||||
|
])->save();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in a new issue