aboutsummaryrefslogtreecommitdiffstats
path: root/lib/generators/refinery/blog
diff options
context:
space:
mode:
authorgreendog <alexander.negoda@gmail.com>2011-11-09 22:01:53 +0400
committergreendog <alexander.negoda@gmail.com>2011-11-09 22:01:53 +0400
commitf5d94d60b8567313d0a6d92cfda631f6df32f3db (patch)
treea5403006c9ee7c2e19f745adef3baf0600b3d3bc /lib/generators/refinery/blog
parent36c005ecd112b76d3c9c2d7092f22d6e06755d73 (diff)
downloadrefinerycms-blog-f5d94d60b8567313d0a6d92cfda631f6df32f3db.tar.gz
refinerycms-blog-f5d94d60b8567313d0a6d92cfda631f6df32f3db.tar.bz2
refinerycms-blog-f5d94d60b8567313d0a6d92cfda631f6df32f3db.zip
added install migratons generator
Diffstat (limited to 'lib/generators/refinery/blog')
-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