This is a SpacetimeDB demo project intended to showcase incremental migrations, as described in How To: Incremental Migrations.
This repository has three branches:
v1
(current) shows the initial version of the module, before implementing a new feature which requires an added column.fails-publish
shows a version of the module which implements the new feature, but will fail to publish on top ofv1
due to an incompatible schema change.v2
shows a version of the module which implements the new feature, and can cleanly publish on top ofv1
without clearing the database or running a manual migration.