Browse Source

mmmm why does this change everytime..

main
Lerk 1 month ago
parent
commit
4e0eff804c
  1. 2
      db/structure.sql

2
db/structure.sql

@ -32,7 +32,7 @@ CREATE FUNCTION public.timestamp_id(table_name text) RETURNS bigint
-- Take the first two bytes (four hex characters)
substr(
-- Of the MD5 hash of the data we documented
md5(table_name || '6ebe4466a61d3b70868efdbe3af54590' || time_part::text),
md5(table_name || '6d5d9414b544d3108a5cd237f587c068' || time_part::text),
1, 4
)
-- And turn it into a bigint

Loading…
Cancel
Save