Add payment structure
This commit is contained in:
@@ -19,6 +19,7 @@ class User
|
||||
|
||||
has_and_belongs_to_many :lists, storing_keys: false
|
||||
has_many :orders
|
||||
has_many :list_payments
|
||||
|
||||
validates_uniqueness_of :email
|
||||
before_save :ensure_authentication_token
|
||||
|
||||
Reference in New Issue
Block a user