mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Dessalines](/assets/img/avatar_default.png)
* Fixing generate unique changeme * Fixing generate unique changeme 2 * Changing link to .invalid domain. Co-authored-by: Nutomic <me@nutomic.com>
6 lines
167 B
PL/PgSQL
6 lines
167 B
PL/PgSQL
create or replace function generate_unique_changeme()
|
|
returns text language sql
|
|
as $$
|
|
select 'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
|
|
$$;
|