mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
database: entry URLs can exceeds btree index size limit
This commit is contained in:
parent
6e870cdccc
commit
fdd1b3f18e
3 changed files with 20 additions and 16 deletions
|
@ -882,4 +882,10 @@ var migrations = []func(tx *sql.Tx) error{
|
|||
_, err = tx.Exec(sql)
|
||||
return err
|
||||
},
|
||||
func(tx *sql.Tx) (err error) {
|
||||
// Entry URLs can exceeds btree maximum size
|
||||
// Checking entry existence is now using entries_feed_id_status_hash_idx index
|
||||
_, err = tx.Exec(`DROP INDEX entries_feed_url_idx`)
|
||||
return err
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue