change db from sqlite3 to postgresql
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
CREATE VIRTUAL TABLE fts_articles USING fts5(id, content);
|
||||
INSERT INTO fts_articles (id, content) SELECT id, title || '\n' || author || '\n' || content FROM articles;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DROP TABLE fts_articles;
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user