Commit Graph

16 Commits

Author SHA1 Message Date
Jinzhu 34997385b0 Add HasIndex method for dialect interface 2015-03-02 23:02:40 +08:00
Jinzhu 4e8d43dd4f Refactor check HasTable, HasColumn 2015-02-28 17:01:27 +08:00
Paolo Galeone 0fa1335555 Avoid Errors in postgres when creating a row without a GORM defined primary key (but defined db-side) 2014-12-08 11:33:30 +01:00
Jinzhu a7e63541fd Fix migration tests 2014-11-25 14:41:09 +08:00
Jinzhu f984bc8515 Refact code 2014-08-30 21:42:35 +08:00
Jinzhu d806b7084f Pass anonymous struct tests 2014-08-30 21:42:35 +08:00
Jinzhu b2360c11da Add Fields for embedded struct 2014-08-30 21:42:35 +08:00
Jinzhu 423d9496c1 update tests 2014-08-28 16:14:44 +08:00
Jinzhu 14fdbdd965 AutoMigrate accepts structs 2014-08-20 11:56:39 +08:00
Jinzhu e1e68debdc improve association 2014-07-30 20:48:36 +08:00
Jinzhu efd3b7678b Be able to find many to many relations 2014-07-30 16:22:26 +08:00
Jinzhu 2bffb43138 Write stub code for Many2Many 2014-07-29 17:28:10 +08:00
Jinzhu 62fd13e04e Refact tests 2014-07-29 16:25:38 +08:00
Jinzhu 468e54f0ee Refact tests 2014-07-29 16:04:40 +08:00
Jinzhu b929a082d7 Fix remove index for sqlite and postgres 2014-07-29 12:02:03 +08:00
Jinzhu cb7d545ac0 Refact tests 2014-07-29 11:38:28 +08:00