Archived
1
0
Fork 0

adding app/migrations/20180808200726_user_oauth_linkedin.php

This commit is contained in:
Henrik Hautakoski 2018-08-08 22:49:20 +02:00
parent cfdf0cd9fb
commit 160533f88f
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View 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();
}
}