Commit Graph

11 Commits

Author SHA1 Message Date
Jannik Clausen
55e98b5b9b dialect/sql/schema: mock result in write driver if returning clause is present (#3369) 2023-03-07 10:43:01 +01:00
Jannik Clausen
809b22be7c dialect/sql/schema: strip returning from seed (#3367) 2023-03-07 07:46:34 +01:00
Ariel Mashraki
7e2da46e09 dialect/sql/schema: expand fmt.Stringer args in WriteDriver (#3366) 2023-03-04 23:05:16 +02:00
Pedro Henrique
3f4916ff8b dialect/sql/schema: fix issue with WriteDriver when using Postgres with Query (#3162) 2022-12-09 21:08:55 +02:00
Ariel Mashraki
f7109f0274 dialect/sql/schema: make WriteDriver friendlier (#3119)
Also, add a guide for writing and executing data migrations files.
2022-11-27 13:27:15 +02:00
Ariel Mashraki
2c63d1d70e all: gofmt -w -r 'interface{} -> any' (#2874) 2022-08-19 18:23:04 +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
fd0a7f9f02 all: facebookincubator/ent => facebook/ent (#660)
ent repository is going to be migrated to facebook organization
2020-08-18 11:05:08 +03:00
Alex Snast
ac50ea81d4 ent: address several lint errors throughout the project (#1534)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1534

Pull Request resolved: https://github.com/facebookincubator/ent/pull/73

lint errors detected by running `golangci-lint` tool.

Reviewed By: a8m

Differential Revision: D17784980

fbshipit-source-id: f7e8bd99fdf1e018d5672cea1e8d44b67f2a4201
2019-10-06 23:59:12 -07:00
Ariel Mashraki
a89cf1ff72 ent/dialect: add missing license headers
Reviewed By: alexsn

Differential Revision: D17390279

fbshipit-source-id: bdf27f42d768305341bfcc6cf80fa5bde63497e9
2019-09-15 09:43:24 -07:00
Ariel Mashraki
6c20ef1d3a ent/migrate: add writedriver for dumping sql exec commands
Reviewed By: alexsn

Differential Revision: D17200893

fbshipit-source-id: 09ec631b5a52d617d0ee97bda81c52f67486889e
2019-09-08 06:01:12 -07:00