You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahhhhhhhhhhh, right. I think this is because the migration generator doesn't currently handle table renaming. It just makes the new table and leaves the old one there. This is naturally not ideal :)
To fix this, we'd need to handle table renames, as part of #224, where if a table is missing, we check to see if you're trying to rename it to some new table being added. Going to close this in favor of a note in that issue.
Migration file: https://github.com/albinkc/helpdesk/blob/main/priv/repo/migrations/20240430205016_rename_representative.exs
changing table name, keeping everything else intact, gives me this error:
The text was updated successfully, but these errors were encountered: