Sha256: c59faa8d760189e8ec1c304bde269f4d88d4ff7a6a8cbae6d64da13424a2b5d5

Contents?: true

Size: 605 Bytes

Versions: 33

Compression:

Stored size: 605 Bytes

Contents

class CreateComeeCoreShipmentItems < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_shipment_items do |t|
      t.references :sales_order_item,
                   index: {name: "soi_on_ccsi_indx"},
                   null: false,
                   foreign_key: {to_table: :comee_core_sales_order_items}
      t.float :quantity, null: false
      t.string :shipment_status, null: false
      t.integer :status, null: false, default: 0
      t.date :handover_date, null: false
      t.date :delivery_date, null: false
      t.string :pallet_no

      t.timestamps
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
comee_core-0.1.80 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.79 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.78 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.77 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.76 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.75 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.74 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.73 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.72 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.71 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.70 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.69 db/migrate/20231207153420_create_comee_core_shipment_items.rb
comee_core-0.1.68 db/migrate/20231207153420_create_comee_core_shipment_items.rb