Our Personal Data Server from scratch!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 8 lines 304 B view raw
1CREATE TABLE handle_reservations ( 2 handle TEXT PRIMARY KEY, 3 reserved_by TEXT NOT NULL, 4 created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), 5 expires_at TIMESTAMPTZ NOT NULL DEFAULT NOW() + INTERVAL '5 minutes' 6); 7 8CREATE INDEX idx_handle_reservations_expires ON handle_reservations(expires_at);