1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(doc) fix comment in migration

This commit is contained in:
Sylvain 2022-03-21 12:50:03 +01:00
parent 6addc8f4c2
commit dc8c36029b

View File

@ -1,8 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# This migration removes the NotNull constraint on the foreign key of closed_by # This migration allows to update the closed_by column on the accounting_periods table.
# column on the accounting_periods table. This is needed because it prevented # This is needed because the previous rule prevented to delete an admin who closed an accounting period.
# to delete an admin who closed an accounting period.
class AllowUpdateClosedByOnAccountingPeriods < ActiveRecord::Migration[5.2] class AllowUpdateClosedByOnAccountingPeriods < ActiveRecord::Migration[5.2]
def up def up
execute <<~SQL execute <<~SQL