Merge branch 'update_tables' into 'master'

Removing comments from tables definition

See merge request khanzf/fedilogue!13
This commit is contained in:
Fikrān Mutasā'il 2021-12-12 03:21:41 +00:00
commit 6befc66275

View File

@ -23,9 +23,6 @@ CREATE TABLE IF NOT EXISTS instances (
software VARCHAR(50)
);
-- ALTER TABLE activities ADD COLUMN normalized_tsvector tsvector;
-- UPDATE activities SET normalized_tsvector = to_tsvector('english', normalized);
ALTER TABLE activities
ADD normalized_tsvector tsvector
GENERATED ALWAYS AS (to_tsvector('english', normalized)) STORED;