Skip to content

Commit 8b3d56d

Browse files
committed
migration fix
1 parent af24705 commit 8b3d56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/m160920_072449_auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ private static function _tables()
3030
'grant_type' => Schema::TYPE_SMALLINT,
3131
'created_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
3232
'updated_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
33-
'expired_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
3433
'status' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 1', // Active,
3534
'KEY (token_type)',
3635
'KEY (grant_type)',
@@ -46,6 +45,7 @@ private static function _tables()
4645
'mac_algorithm' => Schema::TYPE_SMALLINT,
4746
'created_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
4847
'updated_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
48+
'expired_at' => Schema::TYPE_INTEGER . ' UNSIGNED NOT NULL',
4949
'status' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 1', // Active,
5050
'FOREIGN KEY (client_id) REFERENCES {{%auth__client}} (id) ON DELETE CASCADE ON UPDATE CASCADE',
5151
'KEY (type)',

0 commit comments

Comments
 (0)