1 class ActsAsTaggableMigration < ActiveRecord::Migration
3 create_table :globalize_translations do |t|
4 t.string :locale, :null => false
5 t.string :key, :null => false
10 # TODO: FINISH DOING MIGRATION -- stopped in the middle
12 create_table :globalize_translations_map do |t|
13 t.string :key, :null => false
14 t.integer :translation_id, :null => false
17 add_index :taggings, :tag_id
18 add_index :taggings, [:taggable_id, :taggable_type]
22 drop_table :globalize_translations