-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add indexes and properly store quoteUris for mediaquotes
- Loading branch information
1 parent
261eb68
commit 5554d30
Showing
4 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rsky-feedgen" | ||
version = "1.0.1" | ||
version = "1.0.2" | ||
authors = ["Rudy Fraser <[email protected]>"] | ||
description = "A framework for building AT Protocol feed generators, in Rust." | ||
license = "Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- This file should undo anything in `up.sql` | ||
DROP INDEX IF EXISTS idx_like_subjecturi_indexedat; | ||
DROP INDEX IF EXISTS idx_post_createdAt_cid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Your SQL goes here | ||
CREATE INDEX idx_like_subjecturi_indexedat ON public.like ("subjectUri", "indexedAt"); | ||
CREATE INDEX idx_post_createdAt_cid ON "post" ("createdAt" DESC, "cid" DESC) | ||
WHERE "replyParent" IS NULL AND "replyRoot" IS NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters