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
which is good if the table is the shape we expect, because they're considered immutable
but if you were to override a table schema in your config, this should throw an error rather than skipping, to help teach that table schemas are immutable
The text was updated successfully, but these errors were encountered:
you could sorta work around this in latest MUD with labels: you give it a different table name but leave the table label alone (so table libs end up the same, just the table ID changes), that way a new table is deployed with the new schema (it'd be empty though)
holic
changed the title
deployer should throw if trying to modify an existing table
deployer should throw if table ID exists with diff schema
Sep 19, 2024
we currently skip existing tables
mud/packages/cli/src/deploy/ensureTables.ts
Line 32 in 5a6c03c
which is good if the table is the shape we expect, because they're considered immutable
but if you were to override a table schema in your config, this should throw an error rather than skipping, to help teach that table schemas are immutable
The text was updated successfully, but these errors were encountered: