class CreateRealogyEntities
Public Instance Methods
change()
click to toggle source
# File lib/generators/realogy/install/templates/create_realogy_entities.rb, line 2 def change create_table :realogy_entities do |t| t.string :type t.string :entity_id t.datetime :last_update_on t.json :data t.timestamps end add_index :realogy_entities, :type add_index :realogy_entities, :entity_id add_index :realogy_entities, :last_update_on end