Skip to content

Conversation

@adamoxley
Copy link
Collaborator

Noticed during a fresh setup of this locally we had a few issues with migrations running related to deprecated properties on Slot.

I've updated the migrations to be entirely work from a fresh install and (hopefully) work on existing deployments, and fixed the fully commented out migration with a fatalError in it to stop it running, hopefully all works as expected now, famous last words, but all looks good from my side and I can create all things in my local Admin and see them on the website.

Note, this does break the seeder, I spent a bit of time trying to manually fix the SQL but I think I'll just replicate production manually by hand and then dump that SQL to get a fully correct version with 2024 and 2025's entries on as well anyways (but probably closer to the event to not leak anything 🤐).

I tried to break down the changes commit by commit to give an idea of the changes but any questions please give me a shout in case I've messed up some ordering or foreign keys based on what fields were deprecated etc.

(Example that changes are working for Slots on my local with a limited database)

Admin Website
Screenshot 2025-07-16 at 23 44 41 Screenshot 2025-07-16 at 23 44 50

@adamoxley adamoxley self-assigned this Jul 16, 2025
@adamoxley adamoxley closed this Jul 17, 2025
@adamoxley adamoxley deleted the bugfix/invalid-migrations branch July 17, 2025 09:57
@github-actions github-actions bot temporarily deployed to bugfix-invalid-migrations July 17, 2025 18:56 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants