Sha256: dcc8cc175508fa5a548dbc39cf63dd3a659d0a86bb875148ee35d65d83d4ae43
Contents?: true
Size: 577 Bytes
Versions: 56
Compression:
Stored size: 577 Bytes
Contents
class RemoveUserFromAppointments < ActiveRecord::Migration[5.2] def change within_renalware_schema do remove_column :clinic_appointments, :user_id, :integer add_reference :clinic_appointments, :updated_by, foreign_key: { to_table: :users }, index: true, null: true add_reference :clinic_appointments, :created_by, foreign_key: { to_table: :users }, index: true, null: true end end end
Version data entries
56 entries across 56 versions & 1 rubygems