From f906ef024ee39c31148edb49c6511f007735ce5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 23 Nov 2012 15:16:46 +0200 Subject: Squash migrations. This also makes sure tags and taggings tables doesn't exist before trying to create them. --- db/migrate/20120530102901_create_blog_translations.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 db/migrate/20120530102901_create_blog_translations.rb (limited to 'db/migrate/20120530102901_create_blog_translations.rb') diff --git a/db/migrate/20120530102901_create_blog_translations.rb b/db/migrate/20120530102901_create_blog_translations.rb deleted file mode 100644 index c301f42..0000000 --- a/db/migrate/20120530102901_create_blog_translations.rb +++ /dev/null @@ -1,17 +0,0 @@ -class CreateBlogTranslations < ActiveRecord::Migration - def up - Refinery::Blog::Post.create_translation_table!({ - :body => :text, - :custom_teaser => :text, - :custom_url => :string, - :slug => :string, - :title => :string - }, { - :migrate_data => true - }) - end - - def down - Refinery::Blog::Post.drop_translation_table! :migrate_data => true - end -end -- cgit v1.2.3