add: move upload server to buckets
This commit is contained in:
parent
8116307ba0
commit
75fe720f21
83 changed files with 351 additions and 458 deletions
4
manual_migrations/posts_tscvector_content.sql
Normal file
4
manual_migrations/posts_tscvector_content.sql
Normal file
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE posts
|
||||
ADD COLUMN tsvector_content tsvector GENERATED ALWAYS AS (to_tsvector ('english', coalesce(content, ''))) STORED;
|
||||
|
||||
CREATE INDEX tsvector_content_idx ON posts USING GIN (tsvector_content);
|
Loading…
Add table
Add a link
Reference in a new issue