Files
openproject/script
Christophe Bliard 8b25e16864 Add rm -f db/structure.sql to reset the test database
When `db/structure.sql` exists, it's used when doing `rails db:migrate`
instead of running the migrations. When switching to a branch with less
migrations, the test database will be created with the
`db/structure.sql` file which contains the migrations of the previous
branch. They should not be there.

To have the correct database structure for tests, the `db/structure.sql`
file must be removed before running `db:migrate`.
2025-11-13 11:35:03 +01:00
..
2024-09-23 14:32:12 +02:00