lib/daiku/plugins/sequel/cli.rb in daiku-0.2.1 vs lib/daiku/plugins/sequel/cli.rb in daiku-0.2.2

- old
+ new

@@ -29,12 +29,12 @@ def db_migrations empty_directory("#{app}/db") empty_directory("#{app}/db/migrations") create_file("#{app}/db/migrations/.gitkeep", "") - template('_templates/001_create_extension_hstore.rb.tt', "#{app}/app/db/migrations/001_create_extension_hstore.rb") + template('_templates/001_create_extension_hstore.rb.tt', "#{app}/db/migrations/001_create_extension_hstore.rb") if options[:'sequel-postgis'] - template('_templates/002_create_extension_postgis.rb.tt', "#{app}/app/db/migrations/002_create_extension_postgis.rb") + template('_templates/002_create_extension_postgis.rb.tt', "#{app}/db/migrations/002_create_extension_postgis.rb") end end def gemfile content = <<-SGEMS.strip_heredoc