Open radishmouse opened 1 year ago
Is your feature request related to a problem? Please describe.
Currently, each Subscriber is limited to a single Google account, since we store the google_tkn in the Subscriber table.
Subscriber
google_tkn
However, it's likely that users may have multiple Google accounts that they want to connect to.
Describe the solution you'd like
google_*
Accounts
Calendar
(If it makes sense, we could also remove the owner field from the Calendar table, and derive that knowledge from the linked Accounts table)
owner
Describe alternatives you've considered
If multiple Google account support isn't on the roadmap, feel free to disregard this ticket!
For #170 I've added an external connections table to generically handle oauth tokens. We should leverage that for this ticket.
Is your feature request related to a problem? Please describe.
Currently, each
Subscriber
is limited to a single Google account, since we store thegoogle_tkn
in theSubscriber
table.However, it's likely that users may have multiple Google accounts that they want to connect to.
Describe the solution you'd like
google_*
fields to a newAccounts
tableAccounts
table to theSubscriber
tableCalendar
table to theAccounts
table(If it makes sense, we could also remove the
owner
field from theCalendar
table, and derive that knowledge from the linkedAccounts
table)Describe alternatives you've considered
If multiple Google account support isn't on the roadmap, feel free to disregard this ticket!