mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 08:28:09 +00:00
8 lines
157 B
MySQL
8 lines
157 B
MySQL
|
-- migrate:up
|
||
|
CREATE FUNCTION random(pages) RETURNS DOUBLE PRECISION LANGUAGE SQL AS $$
|
||
|
SELECT random();
|
||
|
$$;
|
||
|
|
||
|
-- migrate:down
|
||
|
DROP FUNCTION random(pages);
|