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.88 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.87 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.86 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.85 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.84 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.83 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.82 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.81 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.80 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.78 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.77 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.76 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.75 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.70 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.69 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.68 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.67 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.66 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.65 db/migrate/20231125115522_create_comee_core_customs_details.rb
comee_core-0.2.64 db/migrate/20231125115522_create_comee_core_customs_details.rb