diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-11-23 15:16:46 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-11-23 15:17:07 +0200 |
commit | f906ef024ee39c31148edb49c6511f007735ce5a (patch) | |
tree | 987ea38a6bd57288ec66a2ed3cfde85e130b7241 /db/migrate/20120227022021_add_slug_to_posts_and_categories.rb | |
parent | 788f9579c341f72d4bc2c34230deb7f5f6b6b06e (diff) | |
download | refinerycms-blog-f906ef024ee39c31148edb49c6511f007735ce5a.tar.gz refinerycms-blog-f906ef024ee39c31148edb49c6511f007735ce5a.tar.bz2 refinerycms-blog-f906ef024ee39c31148edb49c6511f007735ce5a.zip |
Squash migrations.
This also makes sure tags and taggings tables doesn't exist before
trying to create them.
Diffstat (limited to 'db/migrate/20120227022021_add_slug_to_posts_and_categories.rb')
-rw-r--r-- | db/migrate/20120227022021_add_slug_to_posts_and_categories.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/db/migrate/20120227022021_add_slug_to_posts_and_categories.rb b/db/migrate/20120227022021_add_slug_to_posts_and_categories.rb deleted file mode 100644 index 87d1291..0000000 --- a/db/migrate/20120227022021_add_slug_to_posts_and_categories.rb +++ /dev/null @@ -1,9 +0,0 @@ -class AddSlugToPostsAndCategories < ActiveRecord::Migration - def change - add_column Refinery::Blog::Post.table_name, :slug, :string - add_index Refinery::Blog::Post.table_name, :slug - - add_column Refinery::Blog::Category.table_name, :slug, :string - add_index Refinery::Blog::Category.table_name, :slug - end -end
\ No newline at end of file |