Jens Holdgaard Pedersen
01063ef639
Update cmd/internal/printer/printer.go ( #4415 )
...
Co-authored-by: Jannik Clausen <12862103+masseelch@users.noreply.github.com >
Signed-off-by: jensholdgaard <jens@holdgaard.org >
feat(printer): update github.com/olekukonko/tablewriter to v1.0.8
# Conflicts:
# go.sum
2025-10-03 20:03:42 +03:00
Ariel Mashraki
175d96f7ec
dialect/sql/schema: pass unit to atlas constructor ( #4420 )
2025-07-31 11:10:01 +03:00
Ariel Mashraki
1b6159ac6e
examples: use AutoApprove in 'atlas schema apply' examples ( #4366 )
2025-04-01 21:10:31 +03:00
Jannik Clausen
9db6f4df43
all: update atlas ( #4362 )
2025-03-25 15:12:42 +01:00
Giau. Tran Minh
2b1ad7e4b0
chore: bump x/tools to latest ( #4329 )
...
* chore: bump `x/tools` to latest
* chore: fixed lint on go1.24
2025-02-13 16:09:44 +07:00
Ariel Mashraki
c5db03c30e
dialect/sql/schema: support setting schema name for migration ( #4327 )
2025-02-12 18:18:03 +02:00
Giau. Tran Minh
cb22300b38
chore: bump atlas to latest master ( #4212 )
2024-09-13 23:37:33 +07:00
Giau. Tran Minh
63596a9dca
chore: pin Go to the minor version (1.23) ( #4209 )
...
* chore: pin Go to the minor version
* chore: ignore `hax`, `udo` and `leafs`
2024-09-13 14:16:26 +07:00
Tran Minh Luan
057c0ee063
go: update go to latest ( #4188 )
...
* go: update go to latest
* chore: fix lint
2024-08-23 11:46:59 +03:00
Ronen Lubin
20f9fba3e6
go: update golang.org/x/sys ( #3958 )
...
* all: update golang.org/x/sys
* run go mod tidy
2024-02-26 22:11:45 +02:00
Ariel Mashraki
744fed675e
go: update golang.org/x/tools to latest ( #3940 )
2024-02-07 18:03:32 +02:00
Giau. Tran Minh
548edd248a
chore: upgrade atlas to latest version ( #3932 )
2024-02-04 08:46:54 +07:00
Ariel Mashraki
797534a0d1
go: update ariga.io/atlas to latest version ( #3751 )
2023-09-18 10:30:25 +03:00
Ariel Mashraki
4787899669
go: update ariga.io/atlas to latest version ( #3610 )
2023-06-21 12:24:05 +03:00
Ariel Mashraki
f251400818
dialect/sql/schema: support passing schema diff options ( #3516 )
2023-05-03 11:28:10 +03:00
Ariel Mashraki
9c677e538f
entc/load: report 'go mod' errors on schema loading ( #3511 )
2023-04-30 18:02:44 +03:00
Ariel Mashraki
98eba0c261
doc: add schema inspection to getting-started page ( #3510 )
2023-04-30 16:17:44 +03:00
dependabot[bot]
648260780e
build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 ( #3442 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 17:27:48 +03:00
Ariel Mashraki
b435c97c99
entc/integration: move tests to a separate module ( #3411 )
2023-03-25 10:59:29 +03:00
Ariel Mashraki
f16451eab8
dialect/sql/schema: allow planning with indentation ( #3363 )
2023-03-04 10:06:53 +02:00
Ariel Mashraki
9517200cb6
schema/field: fallback to native validator if not configured one ( #3359 )
2023-03-01 12:09:26 +02:00
dependabot[bot]
00830f7cbd
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #3353 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:03:06 +02:00
dependabot[bot]
d3dc7d05cd
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 ( #3346 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 11:12:43 +02:00
Ariel Mashraki
9c40fbc07b
entc/gen: fix inconsistent goimports formatting ( #3344 )
2023-02-22 21:29:15 +02:00
Zhizhen He
7aea5a82bc
golangci: remove deprecated linters ( #3315 )
2023-02-14 08:18:03 +02:00
blukai
fc28e223f8
go: update ariga.io/atlas ( #3313 )
...
For https://github.com/ent/ent/pull/3310
2023-02-13 16:47:29 +02:00
Ariel Mashraki
8ca8f682a4
go: update ariga.io/atlas ( #3260 )
2023-01-19 17:12:15 +02:00
Ariel Mashraki
7ed84a86a8
dialect/sql/schema: skip destructive table changes ( #3253 )
...
This will be fixed also in Atlas, but having this extra safety here feels safer
2023-01-19 15:33:17 +02:00
Ariel Mashraki
3328201ba8
go: update ariga.io/atlas version ( #3169 )
2022-12-12 22:08:03 +02:00
dependabot[bot]
dcc16c5763
build(deps): bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0 ( #3148 )
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 21:19:13 +02:00
Ariel Mashraki
3f1d7c960e
example: add jsonencode using extension ( #3142 )
2022-12-04 10:38:23 +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
dependabot[bot]
4c9d61cf16
build(deps): bump go.opencensus.io from 0.23.0 to 0.24.0 ( #3074 )
...
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases )
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: go.opencensus.io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 22:24:05 +02:00
Ariel Mashraki
da9322fd2e
entc/gen: remove unnecessary import from templates ( #3105 )
2022-11-18 21:45:48 +02:00
Ariel Mashraki
5954fa8b15
dialect/sql/schema: normalize ent/schema (desired state) on replay mode ( #3100 )
2022-11-16 20:01:36 +02:00
Ariel Mashraki
891fc8fecf
dialect/sql/schema: support setting default value expressions on id fields ( #3089 )
2022-11-13 18:55:04 +02:00
Ariel Mashraki
eae7d390a9
dialect/sql: add support for index operator-class using atlasgo.io ( #3073 )
2022-11-08 14:08:10 +02:00
dependabot[bot]
f1223dc879
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.15 to 1.14.16
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.15 to 1.14.16.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.15...v1.14.16 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-27 22:53:25 +03:00
dependabot[bot]
3e596ce2fb
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-25 15:43:39 +03:00
dependabot[bot]
f674c72103
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 ( #3011 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 10:15:49 +03:00
Ariel Mashraki
a1e6f06094
go: upgrade ariga.io/atlas ( #3010 )
2022-10-11 23:25:19 +03:00
Jannik Clausen
c41d223733
dialect/sql/schema: disable foreign keys before opening a transaction ( #2966 )
...
* dialect/sql/schema: disable foreign keys before opening a transaction
* dialect/sql/schema: disable foreign keys before opening a transaction
* fix tests
* add test for bug
* apply CR
2022-09-28 07:41:49 +02:00
dependabot[bot]
dc44b9f6fe
build(deps): bump github.com/lib/pq from 1.10.6 to 1.10.7 ( #2909 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 22:11:06 +03:00
Ariel Mashraki
cfb038810d
dialect/sql/entsql: support including non-key columns in postgres indexes ( #2912 )
2022-09-07 22:09:48 +03:00
Aagosh
b5976fbe6a
go: update go version in go.mod ( #2898 )
2022-09-03 11:17:39 +03:00
dependabot[bot]
2615b3a4b3
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.14 to 1.14.15 ( #2862 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.14 to 1.14.15.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.14...v1.14.15 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 07:45:27 +03:00
Jannik Clausen
b6c185a660
dialect/sql/schema: make use of new atlas migration directories and r… ( #2873 )
...
* dialect/sql/schema: make use of new atlas migration directories and remove examples for custom formatters
* typo
2022-08-19 14:42:54 +02:00
Jannik Clausen
a46edf3ac7
all: update atlas ( #2871 )
...
resolves #2866
2022-08-19 12:49:24 +02:00
Ariel Mashraki
6637cbf68e
examples/migration: add doc about migration linting ( #2856 )
2022-08-15 09:45:36 +03:00
Ariel Mashraki
5b3bcfa609
go: update ariga.io/atlas ( #2854 )
2022-08-14 15:47:38 +03:00