diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-01-13 17:29:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 17:29:46 +0000 |
commit | d8fba52e97dd73f64681aa67eb9d2dfeb3459a25 (patch) | |
tree | 2b1b6372f0e1bc73209b561e046d721f5ca2394d /syncapi/storage/postgres/syncserver.go | |
parent | bb9e6a1281807ff76a67219a8cb59e1dadac0419 (diff) |
Simplify send-to-device messaging (#1702)
* Simplify send-to-device messaging
* Don't return error if there's no work to do
* Remove SQLite migrations for now
* Tweak Postgres migrations
* Tweaks
* Fixes
* Cleanup separately
* Fix SQLite migration
Diffstat (limited to 'syncapi/storage/postgres/syncserver.go')
-rw-r--r-- | syncapi/storage/postgres/syncserver.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/syncapi/storage/postgres/syncserver.go b/syncapi/storage/postgres/syncserver.go index 51840304..0fbf3c23 100644 --- a/syncapi/storage/postgres/syncserver.go +++ b/syncapi/storage/postgres/syncserver.go @@ -89,6 +89,7 @@ func NewDatabase(dbProperties *config.DatabaseOptions) (*SyncServerDatasource, e } m := sqlutil.NewMigrations() deltas.LoadFixSequences(m) + deltas.LoadRemoveSendToDeviceSentColumn(m) if err = m.RunDeltas(d.db, dbProperties); err != nil { return nil, err } |