mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 00:38:50 +01:00
Use db:schema:load instead of db:migrate
This commit is contained in:
parent
9cdea2c51f
commit
3c5f28869b
2 changed files with 3 additions and 3 deletions
|
|
@ -104,9 +104,9 @@ h3. Populate your database with the Tracks schema
|
|||
|
||||
Open a terminal and change into the root of your Tracks directory. Enter the following command:
|
||||
|
||||
bc. bundle exec rake db:migrate RAILS_ENV=production
|
||||
bc. bundle exec rake db:schema:load RAILS_ENV=production
|
||||
|
||||
This will update your database with the required schema for Tracks. If you are using SQLite3, it is not strictly necessary, because the SQLite3 database included with Tracks already has the schema included in it, but it should not do any harm to run the command (nothing will happen if it is up to date).
|
||||
This will populate your database with the required schema for Tracks. If you are using SQLite3, it is not strictly necessary, because the SQLite3 database included with Tracks already has the schema included in it, but it should not do any harm to run the command (nothing will happen if it is up to date).
|
||||
|
||||
h3. Precompile assets
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
task :ci => ['db:migrate', :test, :cucumber]
|
||||
task :ci => ['db:schema:load', :test, :cucumber]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue