Sha256: 7d28b41dd7f11b9e2a3ef836d253f32f4639c2a59b8282d1b8bedc4ab73bf393
Contents?: true
Size: 912 Bytes
Versions: 230
Compression:
Stored size: 912 Bytes
Contents
class CreateComeeCoreBackOrderItems < ActiveRecord::Migration[7.0] def change create_table :comee_core_back_order_items do |t| t.references :back_order, null: false, index: {name: "bo_on_ccboi_indx"}, foreign_key: {to_table: :comee_core_back_orders} t.references :product, null: false, index: {name: "product_on_ccboi_indx"}, foreign_key: {to_table: :comee_core_products} t.float :requested_quantity, null: false t.float :requested_unit_price, null: false t.float :supplier_quantity, null: false t.float :supplier_unit_price, null: false t.date :from, null: false t.date :to, null: false t.date :delivery_date, null: false t.integer :item_status, null: false, default: 0 t.string :remark t.timestamps end end end
Version data entries
230 entries across 230 versions & 1 rubygems