server: run DB migrations on startup
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS post_summary_idx;
|
||||
@@ -0,0 +1 @@
|
||||
CREATE INDEX post_summary_idx ON post USING GIN (to_tsvector('english', summary));
|
||||
Reference in New Issue
Block a user