All migrations work in sqlite3, mysql and postgres

This commit is contained in:
Torkel Ödegaard
2015-02-25 07:57:51 +01:00
parent 16fd256225
commit 563d5e3ad8
4 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func addUserMigrations(mg *Migrator) {
&Column{Name: "org_id", Type: DB_BigInt, Nullable: false},
&Column{Name: "is_admin", Type: DB_Bool, Nullable: false},
&Column{Name: "email_verified", Type: DB_Bool, Nullable: true},
&Column{Name: "theme", Type: DB_NVarchar, Nullable: true},
&Column{Name: "theme", Type: DB_NVarchar, Length: 255, Nullable: true},
&Column{Name: "created", Type: DB_DateTime, Nullable: false},
&Column{Name: "updated", Type: DB_DateTime, Nullable: false},
},