Sha256: 4bcf21022dac0352e2ff613ba2d9a6cf64a594dd1d4c66df04cd752cd4afe2aa
Contents?: true
Size: 1.39 KB
Versions: 13
Compression:
Stored size: 1.39 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.string :mode_of_transport_at_border t.string :mode_of_transport_nationality t.string :type_of_identification t.string :nationality t.timestamps end end end
Version data entries
13 entries across 13 versions & 1 rubygems