Comments (13)
@haaawk is it possible to add Ent support to the TODO list? 😄 Thank you friend
from atlas.
Can you provide me the output of atlas version
, please?
from atlas.
@masseelch Thank you for taking a look friend! atlas version v0.15.1-143f43e-canary
from atlas.
For versioned migrations, Atlas stores some meta-data about the migration process in a separate table / schema. We use Ent for this, but Ent does not have support for libsql
which is the reason it does not work. (If I recall correctly, there was some issue with time.Time
parsing).
cc @haaawk, who added the turso integration.
from atlas.
We fixed the time.Time parsing in libsql client so maybe it will be enough to update it's version it Atlas. I will send a PR
from atlas.
This might help #2341
from atlas.
Does libsql support still need to be added to ent for this to work?
from atlas.
Does libsql support still need to be added to ent for this to work?
Not sure. It's been a while since I checked ent.
from atlas.
For versioned migrations, Atlas stores some meta-data about the migration process in a separate table / schema. We use Ent for this, but Ent does not have support for
libsql
which is the reason it does not work. (If I recall correctly, there was some issue withtime.Time
parsing).cc @haaawk, who added the turso integration.
I think based on this message Ent is where the error is originating from
from atlas.
I get the same error with Turso with versioned migrations, declarative workflow works just fine.
atlas version v0.15.1-96e920d-canary
from atlas.
@haaawk sorry for the ping again, is there somewhere we can officially request this feature and get it tracked?
from atlas.
I put Ent support on my list but unfortunately there are many other items with higher priority at the moment.
libsql-client-go supports already time.Time so maybe it's enough to update the libsql-client-go version that atlas is using. I encourage you to give it a try :).
from atlas.
@PietervdWerk hi friend, how come you said this isn't an Ent issue when the Atlas maintainer above said they use Ent for the versioned migrations? Atlas does work already for declarative migrations
from atlas.
Related Issues (20)
- suppor triggers migration in PostgresSQL HOT 6
- `atlas apply`, ignoring postgres extensions *already* present in the database
- Custom baseline sql script HOT 6
- Support for installation using go install HOT 1
- Add ability to define schema in Nickel
- Support Azure Sql Database and using Azure AD or Workload Identity Authentication HOT 8
- Error: role does not exist HOT 1
- Error: cannot diff a database connection with a schema "name_schema" HOT 5
- Support for StarRocks
- How to create schema object in MSSQL database? HOT 22
- The creation of PostgreSQL collation parameters is ignored
- Can't push migrations to Atlas Cloud HOT 5
- migrate apply error when fk changed HOT 4
- CREATE SEQUENCE for MSSQL database fails HOT 3
- Issue excluding objects from `schema diff` HOT 4
- Atlas-operator helm chart doesn't support customization of labels HOT 2
- [Bug] Incorrect command argument in `Introduction to Atlas Migrations` documentation HOT 4
- terraform migration: "atlas_schema_revisions" table created in "public" schema HOT 13
- use multi tenant environment got error `Error: multiple envs found for` HOT 2
- Timeout on dev database on ipv6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atlas.