refactor: centralize configuration
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "article" drop column "tsv";--> statement-breakpoint
|
||||
ALTER TABLE "article" ADD COLUMN "tsv" "tsvector" GENERATED ALWAYS AS (setweight(to_tsvector('french'::regconfig, COALESCE(title, '')::text), 'A'::"char")) STORED;--> statement-breakpoint
|
||||
Reference in New Issue
Block a user