Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 741 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 741 Bytes

Incremental Migration Demo

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 of v1 due to an incompatible schema change.
  • v2 shows a version of the module which implements the new feature, and can cleanly publish on top of v1 without clearing the database or running a manual migration.