Rails DB tasks

  • db:schema:dump — Dump the schema from your database.
  • db:schema:load — Load the schema into your database directly without running migrations.

db:prepare

Rails 6

  • db:preparedb:create + db:schema:load + db:seed