Sha256: a26aa7edefe58d45531731682413c129bbf602fdfcd4c98e2209041d8e513555
Contents?: true
Size: 598 Bytes
Versions: 38
Compression:
Stored size: 598 Bytes
Contents
class CreateEcomCoreBookings < ActiveRecord::Migration[6.0] def change create_table :ecom_core_bookings do |t| t.references :equipment_request, null: false, index: { name: 'booking_on_er_indx' }, foreign_key: { to_table: :ecom_core_equipment_requests } t.references :booked_by, null: false, index: { name: 'er_on_bb_indx' }, foreign_key: { to_table: :ecom_core_users } t.string :remark t.string :status, null: false t.timestamps end end end
Version data entries
38 entries across 38 versions & 1 rubygems