Browse Source

run migrations

main
Lerk 1 month ago
parent
commit
704597604a
  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 || '7d40ff8386d4956871dd187d9fcf4aac' || time_part::text),
md5(table_name || 'b3556db12640f22d024b08e4020816f1' || time_part::text),
1, 4
)
-- And turn it into a bigint

Loading…
Cancel
Save