Sha256: 8629ce4461b4f080944615221bbf5503e2b211d82233fa615d66c1db6c1c27f5

Contents?: true

Size: 950 Bytes

Versions: 6

Compression:

Stored size: 950 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Schema.define(version: 0) do
  # enable_extension 'uuid-ossp'

  create_table :people, force: true do |t|
    t.string :global_registry_id
    t.string :global_registry_mdm_id
    t.string :first_name
    t.string :last_name
    t.string :guid
    t.timestamps
  end

  create_table :addresses, force: true do |t|
    t.string :global_registry_id
    t.string :address1
    t.string :zip
    t.boolean :primary
    t.references :person, index: true
    t.timestamps
  end

  create_table :organizations, force: true do |t|
    t.string :gr_id
    t.string :name
    t.text :description
    t.date :start_date
    t.references :parent, index: true
    t.timestamps
  end

  create_table :assignments, force: true do |t|
    t.string :global_registry_id
    t.string :role
    t.datetime :hired_at
    t.references :person, index: true
    t.references :organization, index: true
    t.timestamps
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
global-registry-bindings-0.0.6 spec/internal/db/schema.rb
global-registry-bindings-0.0.5 spec/internal/db/schema.rb
global-registry-bindings-0.0.4 spec/internal/db/schema.rb
global-registry-bindings-0.0.3 spec/internal/db/schema.rb
global-registry-bindings-0.0.2 spec/internal/db/schema.rb
global-registry-bindings-0.0.1 spec/internal/db/schema.rb