Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
httpcb/app/migrations/20180419133825_user_oauth_ids.php

22 lines
508 B
PHP

<?php
use Phinx\Migration\AbstractMigration;
class UserOauthIds extends AbstractMigration
{
public function up()
{
$this->table('user')
->addColumn('gitlab_id', 'integer', [
'limit' => 14,
'null' => true,
'after' => 'github_user'
])
->addColumn('google_id', 'integer', [
'limit' => 21,
'null' => true,
'after' => 'gitlab_id'
])->save();
}
}