Sha256: 1bb3bc101ea78f2a124a3bd4ce48f3d305b3ffc61233d2cf9d00ca9a720354f8

Contents?: true

Size: 1.23 KB

Versions: 142

Compression:

Stored size: 1.23 KB

Contents

class CreateComeeCoreCustomsDetails < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_customs_details do |t|
      t.references :sales_order,
                   null: false,
                   index: {name: "soi_on_cccd_indx"},
                   foreign_key: {to_table: :comee_core_sales_orders}
      t.string :registration_type, null: false
      t.string :export_declaration_type, null: false
      t.string :participant_constellation, null: false
      t.string :mode_of_transport_type, null: false
      t.string :destination_country, null: false
      t.boolean :containerized, null: false, default: false
      t.string :additional_identifier, null: false
      t.string :packaging_type, null: false
      t.string :export_customs_office, null: false
      t.string :customs_office_of_exit, null: false
      t.string :mode_of_transport, null: false
      t.string :delivery_term_code, null: false
      t.string :mrn
      t.string :office_number
      t.float :quantity
      t.string :characters_numbers
      t.string :closure_mark1
      t.string :closure_mark2
      t.string :closure_mark3
      t.string :closure_mark4
      t.string :closure_mark5
      t.jsonb :transportation_route

      t.timestamps
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
comee_core-0.2.3 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.2 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.1 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.0 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.99 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.98 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.97 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.96 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.95 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.94 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.93 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.92 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.91 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.90 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.89 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.88 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.87 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.86 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.85 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.1.84 db/migrate/20231125115522_create_comee_core_customs_details.rb