Sha256: 4d95dfa0cbe573527f979f794d4bf6a0f11de9cc30a7b3cf4c986d98b242b738
Contents?: true
Size: 448 Bytes
Versions: 9
Compression:
Stored size: 448 Bytes
Contents
class CreateLogisticsCoreDeclarationTypes < ActiveRecord::Migration[5.0] def change create_table :logistics_core_declaration_types do |t| t.string :code, null: false, unique: true t.string :name, null: false t.references :transaction_type, index: { name: 'dt_on_tt_indx' } t.timestamps end add_foreign_key :logistics_core_declaration_types, :logistics_core_lookups, :column => :transaction_type_id end end
Version data entries
9 entries across 9 versions & 1 rubygems