1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-19 08:28:09 +00:00
quot/db/migrations/20220907130637_random_pages.sql
2022-09-07 22:54:27 +09:00

7 lines
157 B
PL/PgSQL

-- migrate:up
CREATE FUNCTION random(pages) RETURNS DOUBLE PRECISION LANGUAGE SQL AS $$
SELECT random();
$$;
-- migrate:down
DROP FUNCTION random(pages);