rphlmr/drizzle-lab

Reset the playground database on every run

Closed this issue · 0 comments

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.