Sha256: 3b56ffb39db5fb03f974ef790aa163517791fb97dd832ffde03537ed17c023c0
Contents?: true
Size: 340 Bytes
Versions: 9
Compression:
Stored size: 340 Bytes
Contents
class CreateLogisticsCoreLookups < ActiveRecord::Migration[5.0] def change create_table :logistics_core_lookups do |t| t.string :code, null: false t.string :name, null: false t.string :type, null: false t.timestamps end add_index :logistics_core_lookups, [:code, :type], { :unique => true } end end
Version data entries
9 entries across 9 versions & 1 rubygems