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:
parent
6addc8f4c2
commit
dc8c36029b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user