aboutsummaryrefslogtreecommitdiffstats
path: root/generators/refinery_blog
diff options
context:
space:
mode:
Diffstat (limited to 'generators/refinery_blog')
-rw-r--r--generators/refinery_blog/refinery_blog_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/generators/refinery_blog/refinery_blog_generator.rb b/generators/refinery_blog/refinery_blog_generator.rb
index 0748bf9..36fce61 100644
--- a/generators/refinery_blog/refinery_blog_generator.rb
+++ b/generators/refinery_blog/refinery_blog_generator.rb
@@ -38,6 +38,7 @@ class RefineryBlogGenerator < Rails::Generator::NamedBase
Rails::Generator::GeneratedAttribute.new('title', 'string'),
Rails::Generator::GeneratedAttribute.new('body', 'text'),
Rails::Generator::GeneratedAttribute.new('draft', 'boolean')
+ Rails::Generator::GeneratedAttribute.new('published_at', 'datetime')
], :id => true
},{
:table_name => 'blog_comments',