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

Import from existing database (from sql file) #13

Open
6 of 19 tasks
Odonno opened this issue May 10, 2023 · 2 comments · Fixed by #12
Open
6 of 19 tasks

Import from existing database (from sql file) #13

Odonno opened this issue May 10, 2023 · 2 comments · Fixed by #12
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Odonno
Copy link
Owner

Odonno commented May 10, 2023

Import/Scaffold a SurrealDB schema from an existing SQL file:

  • BigQuery (untested)
  • ClickHouse (untested)
  • Hive (untested)
  • MS SQL Server = partial support
    • Table definition
    • Column definition
    • Foreign keys (via record types)
    • Simple indexes
    • Unique indexes
    • Assertions
      • NOT NULL
      • Minlength/maxlength
    • Value
      • Default value
    • Extra features
      • Computed columns
      • Geometry types
  • MySQL (untested)
  • PostgreSql (untested)
  • Redshift (untested)
  • SQLite (untested)
  • Snowflake (untested)
@Odonno Odonno added enhancement New feature or request help wanted Extra attention is needed labels May 10, 2023
@Odonno Odonno linked a pull request May 10, 2023 that will close this issue
@Odonno Odonno reopened this May 13, 2023
@scheung38
Copy link

@Odonno hello there, is this feature now allowing seamless migration from existing SQL Server in Azure to SurrealDB? Looking forward to using it.

@Odonno
Copy link
Owner Author

Odonno commented Jan 10, 2024

Hello Sebastian,

This is a preview feature and so, as of today, it only allows schema migration of a subset of the SQL Server language to SurrealDB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants