minor updates
[urlittler] / src / db / postgres / sql / link-access.sql
1 UPDATE link SET accesses = accesses + 1, last_access = now() WHERE id = $(id)
2 RETURNING *,
3 extract(epoch from created) AS created,
4 extract(epoch from last_access) AS last_access,
5 extract(epoch from expires) AS expires