Sha256: a9e199b176e08b2f4bcb0f1b00bf04bcd2baa12a181541dd95763f548190cb3e

Contents?: true

Size: 677 Bytes

Versions: 18

Compression:

Stored size: 677 Bytes

Contents

# frozen_string_literal: true

# This migration comes from g5_updatable (originally 20140709222005)
class CreateG5UpdatableClientsAndLocations < ActiveRecord::Migration[4.2]
  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

18 entries across 18 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.4.rc.3 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.4.rc.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.4.rc.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.pre.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.rc.5 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.rc.4 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.rc.3 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.rc.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.2.rc.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.1.0 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.0.0 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.0.0.pre.4 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.0.0.pre.3 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.0.0.pre.2 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb
g5_authenticatable-1.0.0.pre.1 spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb