extract dossier_state_column

This commit is contained in:
simon lehericey 2024-10-09 15:16:13 +02:00
parent 242ab78235
commit 30fcb75da4
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 8 additions and 4 deletions

View file

@ -33,9 +33,9 @@ class Column
}
end
def notifications?
table == 'notifications' && column == 'notifications'
end
def notifications? = [table, column] == ['notifications', 'notifications']
def dossier_state? = [table, column] == ['self', 'state']
def self.find(h_id)
begin