This commit is contained in:
Dan Cech
2018-04-17 14:06:25 -04:00
parent d2eab2ff4c
commit 23f163e8cf
4 changed files with 20 additions and 10 deletions
@@ -8,7 +8,7 @@ func addUserAuthMigrations(mg *Migrator) {
Columns: []*Column{
{Name: "id", Type: DB_BigInt, IsPrimaryKey: true, IsAutoIncrement: true},
{Name: "user_id", Type: DB_BigInt, Nullable: false},
{Name: "auth_module", Type: DB_NVarchar, Length: 30, Nullable: false},
{Name: "auth_module", Type: DB_NVarchar, Length: 190, Nullable: false},
{Name: "auth_id", Type: DB_NVarchar, Length: 100, Nullable: false},
{Name: "created", Type: DB_DateTime, Nullable: false},
},