Sha256: e46bdf3aca76c1d0b4863a9fb915758c7f1f50aff25dd123f3c566cc9aed2fd3
Contents?: true
Size: 838 Bytes
Versions: 16
Compression:
Stored size: 838 Bytes
Contents
class CreateEcomCoreResourceRequisitions < ActiveRecord::Migration[6.0] def change create_table :ecom_core_resource_requisitions do |t| t.references :lookahead_plan, null: false, index: { name: 'rr_on_lp_indx' }, foreign_key: { to_table: :ecom_core_lookahead_plans } t.references :reviewed_by, null: true, index: { name: 'rr_on_rb_indx' }, foreign_key: { to_table: :ecom_core_users } t.references :approved_by, null: true, index: { name: 'rr_on_ab_indx' }, foreign_key: { to_table: :ecom_core_users } t.string :delivery_point, null:false t.string :status, null: false, default: 'Draft' t.timestamps end end end
Version data entries
16 entries across 16 versions & 1 rubygems