diff options
author | Chris Cornutt <chris.cornutt@hp.com> | 2015-02-04 15:01:31 -0600 |
---|---|---|
committer | Chris Cornutt <chris.cornutt@hp.com> | 2015-02-04 15:01:31 -0600 |
commit | b5b36b0d805747fcb96ccbe15c21b8efdf1edd27 (patch) | |
tree | 5d8901618aee9c8e113bb63e3d2ab14e2743bc27 | |
parent | 9c3c126d98b97c462363977dd322b073883e370d (diff) | |
download | gatekeeper-b5b36b0d805747fcb96ccbe15c21b8efdf1edd27.zip gatekeeper-b5b36b0d805747fcb96ccbe15c21b8efdf1edd27.tar.gz gatekeeper-b5b36b0d805747fcb96ccbe15c21b8efdf1edd27.tar.bz2 |
updating the auth table migration to remove verify column and update user_id to an integer
-rw-r--r-- | migrations/20150202164329_create_auth_token_table.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/migrations/20150202164329_create_auth_token_table.php b/migrations/20150202164329_create_auth_token_table.php index 2a8fb4c..5979d06 100644 --- a/migrations/20150202164329_create_auth_token_table.php +++ b/migrations/20150202164329_create_auth_token_table.php @@ -10,9 +10,8 @@ class CreateAuthTokenTable extends AbstractMigration public function up() { $tokens = $this->table('auth_tokens'); - $tokens->addColumn('token', 'string', array('limit' => 32)) - ->addColumn('verifier', 'string', array('limit' => 100)) - ->addColumn('user_id', 'string', array('limit' => 100)) + $tokens->addColumn('token', 'string', array('limit' => 100)) + ->addColumn('user_id', 'integer') ->addColumn('expires', 'datetime') ->addColumn('created', 'datetime') ->addColumn('updated', 'datetime', array('default' => null)) |