mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 09:46:14 -06:00
include local = true in temporary index
This commit is contained in:
parent
672c63131c
commit
810867f10e
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func init() {
|
||||||
Table("statuses").
|
Table("statuses").
|
||||||
Index("statuses_created_with_application_id_idx").
|
Index("statuses_created_with_application_id_idx").
|
||||||
Column("created_with_application_id").
|
Column("created_with_application_id").
|
||||||
|
Where("? = ?", bun.Ident("local"), true).
|
||||||
IfNotExists().
|
IfNotExists().
|
||||||
Exec(ctx); err != nil {
|
Exec(ctx); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue