lib/tasks/install.rake in rails_age-0.3.2 vs lib/tasks/install.rake in rails_age-0.4.0
- old
+ new
@@ -8,12 +8,19 @@
Rake::Task["apache_age:copy_migrations"].invoke
# run any new migrations
Rake::Task["db:migrate"].invoke
+ # ensure the config/database.yml file has the proper configurations
+ Rake::Task["apache_age:config_database"].invoke
+
# adjust the schema file (unfortunately rails mangles the schema file)
- Rake::Task["apache_age:schema_config"].invoke
+ Rake::Task["apache_age:config_schema"].invoke
- # ensure the config/database.yml file has the proper configurations
- Rake::Task["apache_age:database_config"].invoke
+ # ensure the config/initializers/types.rb file has the base AGE Types
+ Rake::Task["apache_age:config_types"].invoke
+
+ # # ensure bin/rails db:migrate is always followed with
+ # # `Rake::Task["apache_age:config_schema"].invoke` to ensure the schema isn't mangled
+ # Rake::Task["apache_age:config_migrate"].invoke
end
end