Naor Matania
8847a1ac55
dialect/sql/schema: fix migrating Postgres fields with max character varchar custom type ( #2162 )
...
* Support migration of varying length varchar postgres
* update type
* fix type
* improve type
* remove not needed change
* fix failing test
* add inspect test
* add more tests
* go fmt
* fix pr comment
2021-11-28 07:57:57 +02:00
Ruben de Vries
1ea718f7bf
dialect/sql/schema: add support for postgres and mysql numeric and decimal types in migrations ( #1721 )
...
* improve error message when failing to generate changeset
* support migrations for postgres and mysql numeric fields
2021-07-16 13:57:53 +03:00
Ariel Mashraki
66871c9806
dialect/sql/schema: add support for index prefixes in mysql
2021-06-09 22:52:31 +03:00
Ciaran Liedeman
b20d521593
dialect/sql/schema: added foreign keys to postgres inspect ( #1493 )
...
* Added foreign keys to postgres inspect
* Update dialect/sql/schema/inspect.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update dialect/sql/schema/inspect.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* added unit test
* fixed interface
* moved import back
* fixing tests
* Update dialect/sql/schema/inspect.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update dialect/sql/schema/postgres.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* Update dialect/sql/schema/postgres.go
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* pr feedback
* added m2m test case
* converted to unit tests
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2021-04-26 15:32:12 +03:00
Ariel Mashraki
dd4792f5b3
go: rename module from github.com/facebook/ent => entgo.io/ent ( #1226 )
2021-02-02 23:03:04 +02:00
Ariel Mashraki
0ac3526d30
dialect/sql/schema: test postgres inspection
2021-01-18 12:38:39 +02:00
Ariel Mashraki
7e904f0e1c
dialect/sql/schema: add sqlite test for inspector ( #1183 )
2021-01-18 11:21:39 +02:00
Ariel Mashraki
8b798d2714
dialect/sql/schema: add tables inspection capabilities ( #1178 )
2021-01-17 16:41:07 +02:00