Project

General

Profile

Actions

Bug #3202

closed

Orphaned records migration should use delete_all for speed

Added by Dominic Cleal about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The orphaned records migration added in #2400 used destroy instead of delete, but we can switch for more speed.

https://github.com/theforeman/foreman/pull/877


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #2400: Add foreign keys on database levelClosedJoseph Magen04/15/2013Actions
Actions

Also available in: Atom PDF