class CreateDictionaries < ActiveRecord::Migration def change create_table :dictionaries do |t| t.string :resource_type t.integer :resource_id t.string :key t.string :value t.timestamps null: false end end end