]> Untitled Git - lemmy.git/blob - migrations/2022-04-11-210137_fix_unique_changeme/up.sql
Revert "Attempt to fix CI building wrong commits (#3830)"
[lemmy.git] / migrations / 2022-04-11-210137_fix_unique_changeme / up.sql
1 CREATE OR REPLACE FUNCTION generate_unique_changeme ()
2     RETURNS text
3     LANGUAGE sql
4     AS $$
5     SELECT
6         'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
7 $$;
8