gorm/schema
Mayank Govilla d9d5c4dce0
Fix self-referential belongs to constraint (#4801)
* create tests for self-ref has one migration

* add relation equality check to avoid skipping self-referential schemas

* remove drop table error check
2021-11-08 09:47:29 +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 Fix self-referential belongs to constraint (#4801) 2021-11-08 09:47:29 +08:00
relationship_test.go Fix self-referential belongs to constraint (#4801) 2021-11-08 09:47:29 +08:00
schema.go Refactor ParseWithSchemaTable method and improve test. (#4789) 2021-10-25 11:26:44 +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