gorm/schema
black-06 46816ad31d
refactor: distinguish between Unique and UniqueIndex (#6386)
* refactor: distinguish between UniqueIndex and Index

* add test

* add ParseIndex test

* modify unique to constraint

* modify unique to constraint

* fix MigrateColumnUnique

* fix test

* fix unit test

* update test mod

* add MigrateColumnUnique to Migrator interface

* fix format lint

* add comment

* go mod tidy

* revert: revert MigrateColumn

* resolve conflicts
2024-02-04 15:49:19 +08:00
..
callbacks_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
constraint.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
constraint_test.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
field.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
field_test.go Add serializer support (#5078) 2022-02-19 17:02:53 +08:00
index.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
index_test.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
interfaces.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
model_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
naming.go feat: add MigrateColumnUnique (#6640) 2023-10-30 17:15:49 +08:00
naming_test.go max identifier length changed to 63 (#6337) 2023-05-30 10:00:48 +08:00
pool.go Remove shared sync pool for Scanner compatibility 2022-04-11 21:37:44 +08:00
relationship.go refactor: distinguish between Unique and UniqueIndex (#6386) 2024-02-04 15:49:19 +08:00
relationship_test.go feature: bring custom type and id column name to polymorphism (#6716) 2023-12-15 16:36:08 +08:00
schema.go Don't call MethodByName with a variable arg (#6602) 2023-10-10 14:50:29 +08:00
schema_helper_test.go refactor: Resolve implicit memory aliasing in for loop (#6730) 2023-12-15 16:31:23 +08:00
schema_test.go refactor: Resolve implicit memory aliasing in for loop (#6730) 2023-12-15 16:31:23 +08:00
serializer.go Issue 6054: Unscoped not working with PreLoad on Joins (#6058) 2023-02-18 09:06:43 +08:00
utils.go fix schema GetIdentityFieldValuesMap interface or ptr (#6417) 2023-08-19 21:35:14 +08:00
utils_test.go Remove autoincrement tag for join table, close #3217 2020-07-31 18:19:25 +08:00