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

Reset the playground database on every run #13

Closed
rphlmr opened this issue Jul 4, 2024 · 0 comments
Closed

Reset the playground database on every run #13

rphlmr opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rphlmr
Copy link
Owner

rphlmr commented Jul 4, 2024

I think it’s better to clean the embedded database on every run (in-memory vs. file).

It makes it clear that you will only see outputs related to what you have coded.

For SQLite, we have no choice for now due to some limitations (#10).
For Postgres, we could add an option to enable persistence across runs.

Let's keep it simple for now.

__
For performance optimization, we still keep the step that prepares the migrations. It enables almost instant database re-creation.

@rphlmr rphlmr added the enhancement New feature or request label Jul 4, 2024
@rphlmr rphlmr self-assigned this Jul 4, 2024
@rphlmr rphlmr pinned this issue Jul 4, 2024
@rphlmr rphlmr closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant