gorm/schema
Paras Waykole 5d91ddac8c
fixed belongs_to & has_one reversed if field same (proper fix) (#4694)
* fixed belongs_to & has_one reversed if field same

* hasmany same foreign key bug fixed and test added

* belongsToSameForeignKey fixed and reverted old fix
2021-10-08 10:59:55 +08:00
..
callbacks_test.go Rename package name 2020-06-02 09:18:01 +08:00
check.go Optimize parse constraint (#4153) 2021-03-08 10:21:33 +08:00
check_test.go Rename package name 2020-06-02 09:18:01 +08:00
field.go Update updated_at when upserting with Create OnConflict 2021-09-17 15:29:49 +08:00
field_test.go Fix tests 2021-05-06 13:06:31 +08:00
index.go Add option tag support for index 2020-10-21 20:18:21 +08:00
index_test.go Add option tag support for index 2020-10-21 20:18:21 +08:00
interfaces.go Add GormValuer interface support 2020-08-27 15:03:57 +08:00
model_test.go Fix nested embedded struct, close #3278 2020-08-18 11:21:40 +08:00
naming.go Add SchemaName to NamingStrategy 2021-08-11 16:20:29 +08:00
naming_test.go Add SchemaName to NamingStrategy 2021-08-11 16:20:29 +08:00
relationship.go fixed belongs_to & has_one reversed if field same (proper fix) (#4694) 2021-10-08 10:59:55 +08:00
relationship_test.go fixed belongs_to & has_one reversed if field same (proper fix) (#4694) 2021-10-08 10:59:55 +08:00
schema.go Fix Scan with interface 2021-09-17 14:04:19 +08:00
schema_helper_test.go Fix some typos (#4294) 2021-04-19 21:03:39 +08:00
schema_test.go Fix NamingStrategy with embedded struct, close #3513 2020-09-24 11:32:38 +08:00
utils.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
utils_test.go Remove autoincrement tag for join table, close #3217 2020-07-31 18:19:25 +08:00