]> Untitled Git - lemmy.git/blob - migrations/2022-04-11-210137_fix_unique_changeme/up.sql
Adding instance software and version. Fixes #2222 (#2733)
[lemmy.git] / migrations / 2022-04-11-210137_fix_unique_changeme / up.sql
1 create or replace function generate_unique_changeme() 
2 returns text language sql 
3 as $$
4   select 'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
5 $$;