From a49fe03bd8f5882a9de476d5bcf44a32e44603ac Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Sat, 19 May 2012 18:24:13 +0200 Subject: [PATCH] use schema instead of migrations for installer [ci skip] --- script/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script/install.sh b/script/install.sh index 49386bcb6..d0b69eca2 100755 --- a/script/install.sh +++ b/script/install.sh @@ -391,9 +391,8 @@ echo "bundling..." run_or_error "bundle install" echo "" -echo "creating and migrating default database in config/database.yml. please wait..." -run_or_error "rake db:create db:migrate --trace" - # I think we could use 'rake db:setup' here... +echo "creating the default database specified in config/database.yml. please wait..." +run_or_error "bundle exec rake db:schema:load_if_ruby db:structure:load_if_sql --trace" echo "" define GOODBYE_MSG <<'EOT'