Skip to content

Conversation

wjteo
Copy link
Collaborator

@wjteo wjteo commented Jul 29, 2024

Added an option to load an SQL file instead. This should be useful for live hands-on sessions so that participants need not setup their own relational database

@dfreniche
Copy link
Collaborator

@wjteo isn't this the same as https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docker/sample-postgres-library/init/1-library-schema-and-data.sql ?

I mean, you can run a local Docker container just in case to be able to run the Lab. Or are participants going to use that SQL differently? They'll still need to create a new database, right?

I don't understand what this file accomplishes, sorry, can you please elaborate on the use case this solves? Thanks!

@wjteo
Copy link
Collaborator Author

wjteo commented Jul 29, 2024

@dfreniche the sql file i added only contains the schema and no data. in relational migrator users can create a project by uploading an sql schema file without any database. In this way developers can proceed having the experience of shaping the output mongodb schema, but they wont be able to run the live migration

@dfreniche dfreniche merged commit 77c12f9 into main Jul 30, 2024
@dfreniche dfreniche deleted the load-sql-file-option branch July 16, 2025 07:36
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 this pull request may close these issues.

3 participants