mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 19:31:33 +00:00
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);
|
||
|
$$;
|