mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
🪆 Currently nesting Pusher Data (URL & Format) inside the Pusher table
This commit is contained in:
parent
40baacf020
commit
ae0c118238
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ CREATE UNIQUE INDEX IF NOT EXISTS pusher_localpart_pushkey_idx ON pusher_pushers
|
|||
`
|
||||
|
||||
const selectPushersByLocalpartSQL = "" +
|
||||
"SELECT pushkey, kind, app_id, app_display_name, device_display_name, profile_tag, language FROM pusher_pushers WHERE localpart = $1"
|
||||
"SELECT pushkey, kind, app_id, app_display_name, device_display_name, profile_tag, language, url, format FROM pusher_pushers WHERE localpart = $1"
|
||||
|
||||
type pushersStatements struct {
|
||||
selectPushersByLocalpartStmt *sql.Stmt
|
||||
|
|
|
@ -45,7 +45,7 @@ CREATE TABLE IF NOT EXISTS pusher_pushers (
|
|||
);
|
||||
`
|
||||
const selectPushersByLocalpartSQL = "" +
|
||||
"SELECT pushkey, kind, app_id, app_display_name, device_display_name, profile_tag, language FROM pusher_pushers WHERE localpart = $1"
|
||||
"SELECT pushkey, kind, app_id, app_display_name, device_display_name, profile_tag, language, url, format FROM pusher_pushers WHERE localpart = $1"
|
||||
|
||||
type pushersStatements struct {
|
||||
db *sql.DB
|
||||
|
|
Loading…
Reference in a new issue