Removing comments from tables definition

This commit is contained in:
Fikrān Mutasā'il 2021-12-12 03:21:40 +00:00
parent b1e8f08488
commit 1475c00cfb

View File

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