]> Untitled Git - lemmy.git/blob - migrations/2022-04-11-210137_fix_unique_changeme/up.sql
46fe55b5f5e6b194de4e04b92ba7fdd8a0ab7252
[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 $$;