Create testing env sqlite
Hello,
I want to create tests. My database is MySQL and I created a mysql-schema file.
My test environment is sqlite.
How to recreate my database in sqlite with the mysql schema file.
When I run the tests it only shows me the latest migrations.
Thank you in advance for your assistance
You would need to regenerate the migration files from the existing schema so SQLite can generate all of the tables.
I would suggest that you just use the same DB in test as development/production - using a separate connection obviously!
Please or to participate in this conversation.