mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-11 00:52:29 +01:00
0e94f8c3d4
This reverts commit 4cbfbdc4e0f9a271d0fe13459a7b0f93de2c013a.
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
|