From 57d1382013c85a7b11ac8ce5e683f6006b12b328 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 14 Jan 2010 22:21:43 +0100 Subject: Updated globalize2 to latest version. Modified existing code accoringly --- .../plugins/globalize2/generators/templates/db_backend_migration.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/plugins/globalize2/generators') diff --git a/vendor/plugins/globalize2/generators/templates/db_backend_migration.rb b/vendor/plugins/globalize2/generators/templates/db_backend_migration.rb index d4513a5c..0f026111 100644 --- a/vendor/plugins/globalize2/generators/templates/db_backend_migration.rb +++ b/vendor/plugins/globalize2/generators/templates/db_backend_migration.rb @@ -8,16 +8,16 @@ class ActsAsTaggableMigration < ActiveRecord::Migration end # TODO: FINISH DOING MIGRATION -- stopped in the middle - + create_table :globalize_translations_map do |t| t.string :key, :null => false t.integer :translation_id, :null => false end - + add_index :taggings, :tag_id add_index :taggings, [:taggable_id, :taggable_type] end - + def self.down drop_table :globalize_translations drop_table :tags -- cgit v1.3