Sha256: 1713830c364d61b289a13bb4dcdb4772733ead2b31bc2c9171c1c6cfb2fc09a8

Contents?: true

Size: 394 Bytes

Versions: 9

Compression:

Stored size: 394 Bytes

Contents

class CreateLogisticsCoreExtendedLookups < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_extended_lookups do |t|
      t.string :code, null: false
      t.string :name, null: false
      t.string :description
      t.string :type, null: false

      t.timestamps
    end
    add_index :logistics_core_extended_lookups, [:code, :type], { :unique => true }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-21.11.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-21.08.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-21.03.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-20.10.3 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-20.10.2 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-20.10.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-20.9.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
logistics_core-20.8.1 db/migrate/20161020024330_create_logistics_core_extended_lookups.rb