diff options
author | Joe Sak <joe@joesak.com> | 2011-06-23 09:43:53 -0500 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-06-23 09:43:53 -0500 |
commit | 787a0916b1514a7b904f5653d0c2810aab4ffa94 (patch) | |
tree | fc747e8f06428af8d057f1666082750f5d603811 /db/migrate | |
parent | e906ed2eca96a87b737052d55ef635ce60fbffdc (diff) | |
parent | 767346b6941dbdff3aa2ef1f58a87429597da212 (diff) | |
download | refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.gz refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.bz2 refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.zip |
Merge branch 'custom_teasers' of https://github.com/wikyd/refinerycms-blog into wikyd-custom-teasers
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/7_add_custom_teaser_field_to_blog_posts.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/7_add_custom_teaser_field_to_blog_posts.rb b/db/migrate/7_add_custom_teaser_field_to_blog_posts.rb new file mode 100644 index 0000000..daa4d04 --- /dev/null +++ b/db/migrate/7_add_custom_teaser_field_to_blog_posts.rb @@ -0,0 +1,10 @@ +class AddCustomTeaserFieldToBlogPosts < ActiveRecord::Migration + def self.up + add_column :blog_posts, :custom_teaser, :text + end + + def self.down + remove_column :blog_posts, :custom_teaser + end +end + |