aboutsummaryrefslogtreecommitdiffstats
path: root/lib/generators
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators')
-rw-r--r--lib/generators/refinery/blog/blog_generator.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/generators/refinery/blog/blog_generator.rb b/lib/generators/refinery/blog/blog_generator.rb
index 34f6cd2..a7d49a3 100644
--- a/lib/generators/refinery/blog/blog_generator.rb
+++ b/lib/generators/refinery/blog/blog_generator.rb
@@ -1,5 +1,10 @@
module Refinery
class BlogGenerator < Rails::Generators::Base
+
+ def rake_db
+ rake("refinery_blog:install:migrations")
+ end
+
source_root File.expand_path('../templates', __FILE__)
def append_load_seed_data