-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: sql/schema: unsupported dialect "libsql" #2338
Comments
Can you provide me the output of |
@masseelch Thank you for taking a look friend! |
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 cc @haaawk, who added the turso integration. |
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 |
This might help #2341 |
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. |
I think based on this message Ent is where the error is originating from |
I get the same error with Turso with versioned migrations, declarative workflow works just fine.
|
@haaawk is it possible to add Ent support to the TODO list? 😄 Thank you friend |
@haaawk sorry for the ping again, is there somewhere we can officially request this feature and get it tracked? |
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 :). |
@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 |
When running the command:
atlas migrate apply --env "turso"
I get the errorError: sql/schema: unsupported dialect "libsql"
My
atlas.hcl
:The text was updated successfully, but these errors were encountered: