Sha256: 0bb8ca126a0636032a774447ff50b8a4223a6aa023e036d9b726380fee818483
Contents?: true
Size: 527 Bytes
Versions: 10
Compression:
Stored size: 527 Bytes
Contents
class CreateComeeCorePurchaseOrders < ActiveRecord::Migration[7.1] def change create_table :comee_core_purchase_orders do |t| t.references :supplier, null: false, index: {name: "suppliers_on_ccpo_indx"}, foreign_key: {to_table: :comee_core_suppliers} t.date :order_date, default: Date.today t.integer :status, default: 0 t.string :delivery_address, null: false t.date :delivery_date, null: false t.timestamps end end end
Version data entries
10 entries across 10 versions & 1 rubygems