Skip to content

Commit

Permalink
Merge pull request #4077 from omnivore-app/fix/migration-error
Browse files Browse the repository at this point in the history
create ltree extension if not exists
  • Loading branch information
sywhb committed Jun 18, 2024
2 parents fb7553a + f0b71e6 commit da55dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/db/migrations/0177.do.public_item.sql
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ CREATE INDEX public_item_interaction_public_item_id_idx ON omnivore.public_item_
CREATE TRIGGER update_public_item_interactions_modtime BEFORE UPDATE ON omnivore.public_item_interactions FOR EACH ROW EXECUTE PROCEDURE update_updated_at_column();
GRANT SELECT, INSERT, UPDATE ON omnivore.public_item_interactions TO omnivore_user;

CREATE EXTENSION LTREE;
CREATE EXTENSION IF NOT EXISTS LTREE;

ALTER TABLE omnivore.library_item
ADD COLUMN seen_at TIMESTAMPTZ,
Expand Down

0 comments on commit da55dd2

Please sign in to comment.