lib/templates/mysql/install_db.sql.erb in capitate-0.2.1 vs lib/templates/mysql/install_db.sql.erb in capitate-0.2.2

- old
+ new

@@ -1,6 +1,6 @@ -<% grant_locations.each do |location| %> -GRANT <%= grant %> ON <%= db_name %>.* TO '<%= db_user %>'@'<%= location %>' IDENTIFIED BY '<%= db_pass %>'; +<% mysql_grant_locations.each do |location| %> +GRANT <%= mysql_grant_priv_type %> ON <%= db_name %>.* TO '<%= db_user %>'@'<%= location %>' IDENTIFIED BY '<%= db_pass %>'; <% end %> CREATE DATABASE IF NOT EXISTS <%= db_name %>; FLUSH PRIVILEGES; \ No newline at end of file