mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 00:33:15 -06:00
Remove unused date columns
This commit is contained in:
parent
255833683f
commit
bfc967f690
2 changed files with 0 additions and 15 deletions
|
|
@ -105,11 +105,6 @@ func (w *webPushDB) PutWebPushSubscription(ctx context.Context, subscription *gt
|
|||
}
|
||||
|
||||
func (w *webPushDB) UpdateWebPushSubscription(ctx context.Context, subscription *gtsmodel.WebPushSubscription, columns ...string) error {
|
||||
// If we're updating by column, ensure "updated_at" is included.
|
||||
if len(columns) > 0 {
|
||||
columns = append(columns, "updated_at")
|
||||
}
|
||||
|
||||
// Update database.
|
||||
result, err := w.db.
|
||||
NewUpdate().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue