scrolls/postgresql.rb in appscrolls-0.8.0 vs scrolls/postgresql.rb in appscrolls-0.8.1

- old
+ new

@@ -1,16 +1,12 @@ gem "pg" gsub_file "config/database.yml", /username: .*/, "username: #{config['pg_username']}" gsub_file "config/database.yml", /password: .*/, "password: #{config['pg_password']}" -if scroll?("eycloud") - @db_stack = "postgresql" -end - after_bundler do - rake "db:create:all" if config['auto_create'] + rake "db:create:all" rakefile("sample.rake") do <<-RUBY namespace :db do desc "Populate the database with sample data" @@ -35,15 +31,11 @@ run_before: [eycloud] args: -d postgresql config: - - auto_create: - type: boolean - prompt: "Create local PostgreSQL databases with default configuration?" - - pg_username: type: string - prompt: "PostgreSQL username:" + prompt: "Local development PostgreSQL username:" - pg_password: type: string - prompt: "PostgreSQL password:" + prompt: "Local development PostgreSQL password:"