Introduce untenanted Identity and Membership models
and a script to populate these tables for existing 37id users
This commit is contained in:
committed by
Stanko K.R.
parent
1277cc065b
commit
d0215e9fd2
@@ -1,5 +1,6 @@
|
||||
class Membership < UntenantedRecord
|
||||
belongs_to :identity, touch: true
|
||||
has_many :magic_links, dependent: :delete
|
||||
|
||||
# I want this to be `belongs_to :user`, but ActiveRecord::Tenanted doesn't yet support
|
||||
# associations from untenanted to untenanted models.
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user