Sha256: 496380aa5e35d9380fe0a5bd39251e0f8dc572990946e8106f8b1922d5efa804
Contents?: true
Size: 439 Bytes
Versions: 177
Compression:
Stored size: 439 Bytes
Contents
class AddAccountableFieldsToPrescriptions < ActiveRecord::Migration[4.2] def change add_column :medication_prescriptions, :created_by_id, :integer, null: false, index: true add_column :medication_prescriptions, :updated_by_id, :integer, null: false, index: true add_foreign_key :medication_prescriptions, :users, column: :created_by_id add_foreign_key :medication_prescriptions, :users, column: :updated_by_id end end
Version data entries
177 entries across 177 versions & 1 rubygems