lemmy/migrations/2022-04-11-210137_fix_unique_changeme/up.sql

6 lines
167 B
MySQL
Raw Normal View History

create or replace function generate_unique_changeme()
returns text language sql
as $$
select 'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
$$;