Files
core/tests/components
J. Nick KostonandFranck Nijhof ab0597da7b Ensure legacy event foreign key is removed from the states table when a previous rebuild failed (#123388)
* Ensure legacy event foreign key is removed from the states table

If the system ran out of disk space removing the FK, it would
fail. #121938 fixed that to try again, however that PR was made
ineffective by #122069 since it will never reach the check.

To solve this, the migration version is incremented to 2, and
the migration is no longer marked as done unless the rebuild
/fk removal is successful.

* fix logic for mysql

* fix test

* asserts

* coverage

* coverage

* narrow test

* fixes

* split tests

* should have skipped

* fixture must be used
2024-08-10 18:40:47 +02:00
..
2024-07-04 21:27:56 +02:00
2024-07-07 16:34:05 +02:00
2024-07-24 21:40:05 +02:00
2024-07-19 18:25:07 +02:00
2024-07-10 21:53:11 +02:00
2024-08-02 17:45:16 +02:00
2024-07-10 23:08:25 +02:00
2024-07-16 22:36:31 +02:00
2024-07-22 13:09:08 +02:00
2024-07-24 20:37:38 +02:00