Giter Site home page Giter Site logo

Comments (13)

arjunyel avatar arjunyel commented on June 27, 2024 3

@haaawk is it possible to add Ent support to the TODO list? 😄 Thank you friend

from atlas.

masseelch avatar masseelch commented on June 27, 2024

Can you provide me the output of atlas version, please?

from atlas.

arjunyel avatar arjunyel commented on June 27, 2024

@masseelch Thank you for taking a look friend! atlas version v0.15.1-143f43e-canary

from atlas.

masseelch avatar masseelch commented on June 27, 2024

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.

haaawk avatar haaawk commented on June 27, 2024

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.

haaawk avatar haaawk commented on June 27, 2024

This might help #2341

from atlas.

arjunyel avatar arjunyel commented on June 27, 2024

Does libsql support still need to be added to ent for this to work?

from atlas.

haaawk avatar haaawk commented on June 27, 2024

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.

arjunyel avatar arjunyel commented on June 27, 2024

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.

I think based on this message Ent is where the error is originating from

from atlas.

asterikx avatar asterikx commented on June 27, 2024

I get the same error with Turso with versioned migrations, declarative workflow works just fine.

atlas version v0.15.1-96e920d-canary

from atlas.

arjunyel avatar arjunyel commented on June 27, 2024

@haaawk sorry for the ping again, is there somewhere we can officially request this feature and get it tracked?

from atlas.

haaawk avatar haaawk commented on June 27, 2024

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.

arjunyel avatar arjunyel commented on June 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.