go: bump atlas to latest master (#2584)

This commit is contained in:
Amit Shani
2022-06-01 17:13:23 +03:00
committed by GitHub
parent 6a166b9e7c
commit 63592f79c4
4 changed files with 10 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ with large data-models.
- **Schema As Code** - model any database schema as Go objects.
- **Easily Traverse Any Graph** - run queries, aggregations and traverse any graph structure easily.
- **Statically Typed And Explicit API** - 100% statically typed and explicit API using code generation.
- **Multi Storage Driver** - supports MySQL, MariaDB, TiDB, PostgreSQL, SQLite and Gremlin.
- **Multi Storage Driver** - supports MySQL, MariaDB, TiDB, PostgreSQL, CockroachDB, SQLite and Gremlin.
- **Extendable** - simple to extend and customize using Go templates.
## Quick Installation

View File

@@ -18,6 +18,11 @@ and it's being tested constantly on the following 3 versions: `10.2`, `10.3` and
PostgreSQL supports all the features that are mentioned in the [Migration](migrate.md) section,
and it's being tested constantly on the following 4 versions: `10`, `11`, `12` and `13`.
## CockroachDB **(<ins>preview</ins>)**
CockroachDB support is in preview and requires the [Atlas migration engine](#atlas-integration).
The integration with CRDB is currently tested on versions `v21.2.11`.
## SQLite
SQLite supports all _"append-only"_ features mentioned in the [Migration](migrate.md) section.
@@ -33,4 +38,4 @@ Gremlin does not support migration nor indexes, and **<ins>it's considered exper
TiDB support is in preview and requires the [Atlas migration engine](#atlas-integration).
TiDB is MySQL compatible and thus any feature that works on MySQL _should_ work on TiDB as well.
For a list of known compatibility issues, visit: https://docs.pingcap.com/tidb/stable/mysql-compatibility
The integration with TiDB is currently tested on versions `5.4.0`, `6.0.0`.
The integration with TiDB is currently tested on versions `5.4.0`, `6.0.0`.

2
go.mod
View File

@@ -3,7 +3,7 @@ module entgo.io/ent
go 1.17
require (
ariga.io/atlas v0.4.2-0.20220524161107-b5b3f75b1034
ariga.io/atlas v0.4.2-0.20220601084524-93e29909973c
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/go-openapi/inflect v0.19.0
github.com/go-sql-driver/mysql v1.6.0

2
go.sum
View File

@@ -6,6 +6,8 @@ ariga.io/atlas v0.4.1 h1:ElhwKE2F28aTQqvnIzHO65oa7Oxn6VcO5blKlp9FzQ4=
ariga.io/atlas v0.4.1/go.mod h1:CKqqlJeTdRfEmnHaCcNPHg8DD6GPx1TxNPZ1NFknKHU=
ariga.io/atlas v0.4.2-0.20220524161107-b5b3f75b1034 h1:cjqJPtwk6LhJdYaFgLHI0OuZyEspkxodoCLKeLdhJPk=
ariga.io/atlas v0.4.2-0.20220524161107-b5b3f75b1034/go.mod h1:CKqqlJeTdRfEmnHaCcNPHg8DD6GPx1TxNPZ1NFknKHU=
ariga.io/atlas v0.4.2-0.20220601084524-93e29909973c h1:xCquXJslTtTyp4bG9sH5XHAauvE5lgluRdeo65IRduo=
ariga.io/atlas v0.4.2-0.20220601084524-93e29909973c/go.mod h1:CKqqlJeTdRfEmnHaCcNPHg8DD6GPx1TxNPZ1NFknKHU=
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=