mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 08:28:09 +00:00
7 lines
157 B
PL/PgSQL
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);
|