Sha256: 20f3b853aba3a62787b16ba2782a557b30da3d4b55d565c77f52fdfe751edd2b

Contents?: true

Size: 416 Bytes

Versions: 9

Compression:

Stored size: 416 Bytes

Contents

class CreateLogisticsCoreOperationSummaries < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_operation_summaries do |t|
      t.references :operation, index: true, null: false
      t.text :tax
      t.text :fact
      t.text :declaration

      t.timestamps
    end

    add_foreign_key :logistics_core_operation_summaries, :logistics_core_operations, :column => :operation_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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