Sha256: c7aadc52488bd0ad98115f5ab887c49133883ef3ea31481914d6125f06e9de2f
Contents?: true
Size: 705 Bytes
Versions: 97
Compression:
Stored size: 705 Bytes
Contents
class CreateComeeCorePurchaseOrderItems < ActiveRecord::Migration[7.1] def change create_table :comee_core_purchase_order_items do |t| t.references :purchase_order, null: false, index: {name: "pos_on_ccpoitm_indx"}, foreign_key: {to_table: :comee_core_purchase_orders} t.references :sales_order_item, null: false, index: {name: "soi_on_ccpoitm_indx"}, foreign_key: {to_table: :comee_core_sales_order_items} t.float :quantity, null: false t.date :delivery_date, null: false t.integer :status, null: false, default: 0 t.timestamps end end end
Version data entries
97 entries across 97 versions & 1 rubygems