Sha256: 793b65361dc1c1f5a54f5a8ab9b4c58d7a0b2b30b8ce6aa2d593772d4d3e28ce

Contents?: true

Size: 383 Bytes

Versions: 29

Compression:

Stored size: 383 Bytes

Contents

class CreateRealogyEntities < ActiveRecord::Migration[5.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
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
realogy-0.4.4 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.2 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.1 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.0 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.3.2 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.3.1 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.3.0 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.2.0 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.1.0 lib/generators/realogy/install/templates/create_realogy_entities.rb