await queryRunner.query(`CREATE OR REPLACE FUNCTION random_hex(int) RETURNS TEXT as $$
SELECT string_agg(substring('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,-./:;<=>?@[]^', ceil(random() * 85)::integer, 1), '') FROM generate_series(1, $1);
$$ language sql;`);