Sha256: 502a5200423f0c3cb23a209db2849fe770a24b90ea1d3db0cef27c082538a00c

Contents?: true

Size: 641 Bytes

Versions: 12

Compression:

Stored size: 641 Bytes

Contents

# This migration comes from g5_updatable (originally 20140709222005)
class CreateG5UpdatableClientsAndLocations < ActiveRecord::Migration
  def change
    create_table :g5_updatable_clients do |t|
      t.string :uid
      t.string :urn
      t.json :properties

      t.timestamps
    end
    add_index :g5_updatable_clients, :uid
    add_index :g5_updatable_clients, :urn

    create_table :g5_updatable_locations do |t|
      t.string :uid
      t.string :urn
      t.string :client_uid
      t.json :properties

      t.timestamps
    end
    add_index :g5_updatable_locations, :uid
    add_index :g5_updatable_locations, :urn
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
g5_authenticatable-0.9.1.pre.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.8.1.pre spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.8.0 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.8.0.beta1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.5 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.5.beta spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.4 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.4.beta.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.3 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-0.7.0 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb