mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-17 11:54:22 +01:00
(doc) fix comment in migration
This commit is contained in:
parent
6addc8f4c2
commit
dc8c36029b
@ -1,8 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# This migration removes the NotNull constraint on the foreign key of closed_by
|
||||
# column on the accounting_periods table. This is needed because it prevented
|
||||
# to delete an admin who closed an accounting period.
|
||||
# This migration allows to update the closed_by column on the accounting_periods table.
|
||||
# This is needed because the previous rule prevented to delete an admin who closed an accounting period.
|
||||
class AllowUpdateClosedByOnAccountingPeriods < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
execute <<~SQL
|
||||
|
Loading…
x
Reference in New Issue
Block a user