chore(*.sql): use sql-formatter for sql formatting
This commit is contained in:
parent
cf1ee4c97f
commit
1d7f13d1f5
63 changed files with 4432 additions and 2358 deletions
|
@ -1,5 +1,4 @@
|
|||
CREATE OR REPLACE FUNCTION slugify(input TEXT)
|
||||
RETURNS TEXT AS $$
|
||||
CREATE OR REPLACE FUNCTION slugify (input TEXT) RETURNS TEXT AS $$
|
||||
BEGIN
|
||||
RETURN lower(regexp_replace(unaccent(regexp_replace(input, '[^\w\s-]', '', 'g')), '\s+', '-', 'g'));
|
||||
END;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue