Lotus, just like Rails, also supports database migration through Sequel Migrations.
It´s pretty simple but some things are not so clear.
Create a migration
Enable UUID (PostgreSQL only)
Use UUID as Primary Key
Use UUID as Foreign Key
Index a column
db migrate down command, although you can specify a version to migrate. Just specify
0 to migrate to initial version (before any migration).