Skip to content
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

Support SurrealDB #294

Closed
TECHNOFAB11 opened this issue Nov 30, 2023 · 1 comment
Closed

Support SurrealDB #294

TECHNOFAB11 opened this issue Nov 30, 2023 · 1 comment

Comments

@TECHNOFAB11
Copy link

It would be awesome to be able to use this to migrate SurrealDB databases as well.
From quickly looking into the code it seems like it should be fairly easy to implement Migrate/AsyncMigrate for the SurrealDB client but the SQL for working with the table that contains the applied migrations is constant and SurrealDB probably does not understand that.
The migration files currently just support .sql and .rs, which should be fine (the only downside being Intellisense not knowing that the .sql file contains SurrealQL) but supporting .surql would be nice.

If anyone has an idea what the best way of handling the SQL consts is I can try and implement support for SurrealDB :)

@jxs
Copy link
Member

jxs commented Jan 22, 2024

replied on #295

@jxs jxs closed this as completed Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants