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.6.8 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.7 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.6 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.5 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.4 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.3 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.2 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.1 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.6.0 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.9 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.4 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.3 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.2 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.1 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.5.0 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.9 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.8 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.7 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.6 lib/generators/realogy/install/templates/create_realogy_entities.rb
realogy-0.4.5 lib/generators/realogy/install/templates/create_realogy_entities.rb