repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

pico / sql / migrations
Eric Bower · 09 Nov 22

20221108_add_expires_at_to_posts.sql

1ALTER TABLE posts ADD expires_at timestamp without time zone;
2
3UPDATE posts SET expires_at = NOW() + INTERVAL '7 day' WHERE cur_space='pastes';