mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
mas: added localpart_external_ids table
This commit is contained in:
parent
e1dfe62b20
commit
150be588f5
8 changed files with 242 additions and 0 deletions
|
@ -127,6 +127,16 @@ type StatsTable interface {
|
|||
UpsertDailyStats(ctx context.Context, txn *sql.Tx, serverName spec.ServerName, stats types.MessageStats, activeRooms, activeE2EERooms int64) error
|
||||
}
|
||||
|
||||
type LocalpartExternalIDsTable interface {
|
||||
Select(ctx context.Context, txn *sql.Tx, externalID, authProvider string) (*api.LocalpartExternalID, error)
|
||||
Insert(ctx context.Context, txn *sql.Tx, localpart, externalID, authProvider string) error
|
||||
Delete(ctx context.Context, txn *sql.Tx, externalID, authProvider string) error
|
||||
}
|
||||
|
||||
type UIAuthSessionsTable interface {
|
||||
SelectByID(ctx context.Context, txn *sql.Tx, sessionID int) (*api.UIAuthSession, error)
|
||||
}
|
||||
|
||||
type NotificationFilter uint32
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue