From 34e0c2b13a9e812dc209f0e54155b33cee51d6e0 Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Tue, 5 Mar 2013 01:00:24 -0500 Subject: [PATCH] Revert "Use db:schema:load instead of db:migrate" This reverts commit 3c5f28869bb5901b8001c2402154809261b1355b, which did not function properly on the continuous integration server. --- doc/installation.textile | 4 ++-- lib/tasks/continuous_integration.rake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/installation.textile b/doc/installation.textile index 5a2d0636..f5a8e53c 100644 --- a/doc/installation.textile +++ b/doc/installation.textile @@ -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:schema:load RAILS_ENV=production +bc. bundle exec rake db:migrate RAILS_ENV=production -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). +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). h3. Precompile assets diff --git a/lib/tasks/continuous_integration.rake b/lib/tasks/continuous_integration.rake index 5a7dd542..67b5f161 100644 --- a/lib/tasks/continuous_integration.rake +++ b/lib/tasks/continuous_integration.rake @@ -1 +1 @@ -task :ci => ['db:schema:load', :test, :cucumber] +task :ci => ['db:migrate', :test, :cucumber]