MIGRATIONS - nself-org/cli GitHub Wiki
Version control your database schema with migrations.
Migrations track schema changes:
- Create tables
- Add columns
- Modify indexes
- Run any SQL
nself db migrate create "add_posts_table"Edit the migration file and add SQL.
nself db migratenself db migrate rollbackSee Database Guide for complete reference.