]> Untitled Git - lemmy.git/blob - migrations/2022-04-11-210137_fix_unique_changeme/up.sql
Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts...
[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 $$;