db:migrate
: runs migrationsdb:create
: creates the databasedb:drop
: deletes the databasedb:schema:load
: create tables using schema.rb and deleting existing datadb:setup
: doesdb:create
,db:schema:load
,db:seed
db:reset
: doesdb:drop
,db:create
,db:schema:load
,db:seed
db:migrate:reset
: doesdb:drop
,db:create
,db:migrate
db:prepare
: doesdb:setup
if database does not exists anddb:migrate
if existsdb:seed
: load seed fromdb/seeds.rb
db:seed:replant
: truncate tables and doesdb:seed
Last active
August 18, 2023 08:25
-
-
Save javierav/40b054c5956299ecd634cd370fbfcf25 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment