use schema instead of migrations for installer [ci skip]

This commit is contained in:
Florian Staudacher 2012-05-19 18:24:13 +02:00
parent 125b013c10
commit a49fe03bd8

View file

@ -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'