Sha256: c6014e601538848d6b071d4ceb176eb85cb3443fe9925ea59d036a47e4cc2bea

Contents?: true

Size: 1.65 KB

Versions: 9

Compression:

Stored size: 1.65 KB

Contents

class MoveOperationDetailFieldsToOperation < ActiveRecord::Migration[5.0]
  def change
    add_column :logistics_core_operations, :declarant_id, :integer
    add_column :logistics_core_operations, :declaration_type_id, :integer
    add_column :logistics_core_operations, :transport_mode_id, :integer
    add_column :logistics_core_operations, :customs_office_id, :integer
    add_column :logistics_core_operations, :customs_office_unit_id, :integer
    add_column :logistics_core_operations, :country_of_origin_id, :integer
    add_column :logistics_core_operations, :acquisition_mode_id, :integer
    add_column :logistics_core_operations, :payment_term_id, :integer
    add_column :logistics_core_operations, :delivery_term_id, :integer
    add_column :logistics_core_operations, :container_arrangement_id, :integer
    add_column :logistics_core_operations, :customs_transport_tariff_id, :integer
    add_column :logistics_core_operations, :esl_transport_tariff_id, :integer
    add_column :logistics_core_operations, :warehouse_id, :integer

    add_column :logistics_core_operations, :trade_license_number, :string
    add_column :logistics_core_operations, :tin_number, :string
    add_column :logistics_core_operations, :t_number, :string, null: true
    add_column :logistics_core_operations, :investment_license_number, :string
    add_column :logistics_core_operations, :load_level, :string
    add_column :logistics_core_operations, :is_transfer, :boolean
    add_column :logistics_core_operations, :transfer_name, :string
    add_column :logistics_core_operations, :transfer_tin_no, :string
    add_column :logistics_core_operations, :transport_modality, :string
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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