Sha256: 7c2d25d2b9e2ae70d705f60c41ba14065361f1f00cdfa4e27fa52a06154e5fb2
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 Bytes
Contents
class CreateOverrides < ActiveRecord::Migration def change create_table :overrides do |t| t.string :context_name t.string :overrideable_type t.integer :overrideable_id t.string :field_name t.text :field_value t.timestamps end add_index :overrides, :context_name add_index :overrides, :overrideable_type add_index :overrides, :overrideable_id add_index :overrides, :field_name end end
Version data entries
2 entries across 2 versions & 1 rubygems