sails-migrations provides an easy way to manage database migrations with sails, based on the amazing https://github.com/tgriesser/knex lib.
This means you can have fine-grained control over your schema/data transformations between versions.

db:drop - Just as the name suggests, reads your sails config, and DROPS the db. use with care.

db:create - Same but different, creates the db you specified in your sails config.

generate <name> - Generate a new blank migrations file, after you run this command, you need to open the new file, which by default is saved to \db\migrations\, after you run this command, you should open this file, and put your migration information. for the migration syntex, please refer to the Knex documentation

migrate - Runs all the not-yet-runned migrations from the last run of migrate, all of those migrations are saved as a batch.

rollback - Runs the revert function on each migration in the last batch.

status - Prints a nice table of all the committed/uncommitted migrations.