Something leaks from the migrations in case of an exception.
Repro:
- Create a type from a migration.
- In that migration after the type creation throw an exception.
- In the dashboard you'll see under the "New" link that you can create that new type.
- After a refresh it will no longer be there under the "New" link.
Here's my repro with 2 migrations and 2 types.
-
Before the migration there's only 1 type.

-
Right after the erronous migration there's 2 types.

-
After a refresh there's 1 type again.

This behavior could lead to a bigger issue.
Something leaks from the migrations in case of an exception.
Repro:
Here's my repro with 2 migrations and 2 types.
Before the migration there's only 1 type.

Right after the erronous migration there's 2 types.

After a refresh there's 1 type again.

This behavior could lead to a bigger issue.