Add paid_at date to donations
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-12-19 13:28:47 +01:00
parent 2f70bae523
commit 5e2d5c3b28
9 changed files with 27 additions and 4 deletions

View File

@@ -7,4 +7,7 @@ class Donation < ApplicationRecord
# Hooks
# TODO before_create :store_fiat_value
#Scopes
scope :completed, -> { where.not(paid_at: nil) }
end