mirror of https://github.com/LemmyNet/lemmy.git
6 lines
167 B
MySQL
6 lines
167 B
MySQL
|
create or replace function generate_unique_changeme()
|
||
|
returns text language sql
|
||
|
as $$
|
||
|
select 'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
|
||
|
$$;
|