mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
0e94f8c3d4
This reverts commit 4cbfbdc4e0
.
8 lines
249 B
Ruby
8 lines
249 B
Ruby
class AddDestroyingToSlot < ActiveRecord::Migration
|
|
def change
|
|
# this allow to prevent conflicts of 'delete cascade' by marking a slot
|
|
# as 'currently being destroyed'
|
|
add_column :slots, :destroying, :boolean, default: false
|
|
end
|
|
end
|