@ -1,7 +1,5 @@
class AddForeignKeyToUserOrganisation < ActiveRecord::Migration[7.0]
def change
add_reference :organisations, :users, foreign_key: true, on_delete: :cascade
end
@ -1,6 +1,5 @@
class AddForeignKeyToLogsOrganisation < ActiveRecord::Migration[7.0]
add_reference :organisations, :case_logs, foreign_key: true, on_delete: :cascade