Skip to content

clockworklabs/incr-migration-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.