27 Commits

Author SHA1 Message Date
Jinzhu
f0364a0fb5 Merge branch 'master' into v1.0_dev 2016-01-12 15:47:50 +08:00
Jinzhu
43e9035dad Fix Association Count with Soft Delete 2016-01-12 13:56:41 +08:00
Jinzhu
801a271d07 Fix Association Count 2016-01-12 12:31:05 +08:00
Jinzhu
5c57885d98 DeletedAt's type has to been *time.Time 2016-01-10 21:38:10 +08:00
Jinzhu
d1892d3177 Support poiner of Scanner 2016-01-04 18:42:47 +08:00
Jinzhu
ad251b9deb Create with Select 2015-03-12 17:47:31 +08:00
Jinzhu
b391029188 Fix stack overflow for many to many associations 2015-02-28 19:09:45 +08:00
Jinzhu
b7edaeeeb3 Test ID as foreign key 2015-02-18 13:37:27 +08:00
Jinzhu
af7da1ec44 GetModelStruct without relations 2015-02-18 13:16:32 +08:00
Jinzhu
0d2c37e310 Refactor Model Struct 2015-02-18 12:50:37 +08:00
Jinzhu
5c478b46e1 Use Common Initialisms from golint 2015-02-18 10:36:32 +08:00
Jinzhu
9b355ee86c Fix Associations with slice of pointer 2015-02-17 23:36:23 +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
Shirou WAKAYAMA
e313827f04 fix panic problem when the struct has unexported field. 2014-11-19 12:44:57 +09:00
Jinzhu
75819b2bb3 Refactor DefaultValue 2014-11-17 17:38:32 +08:00
Paolo Galeone
064d91335b Add default values support ( https://github.com/jinzhu/gorm/issues/251 ) 2014-11-15 18:32:35 +01:00
Paolo Galeone
c108cf022b Add support for signed and unsigned integer types as primary key type 2014-10-22 17:33:13 +02:00
Joel Trost
6b7d0879c5 Ran gofmt and removed panic statements
Unnecessary panics in create_test and delete_test removed
2014-09-16 14:24:55 -07:00
Jinzhu
c6b1669c6a Fix tests for Scanner 2014-08-30 23:14:14 +08:00
Jinzhu
07e2d49b22 Fix invalid reflect value 2014-08-15 11:14:33 +08:00
Jinzhu
febc826511 Don't check relations if field is ignored 2014-08-14 21:54:23 +08:00
Jinzhu
0c63e57f5c Use tag to set primary key 2014-07-29 18:21:36 +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