chore(*.psql/*.sql): update all *.psql to *.sql files

This commit is contained in:
Cory Dransfeldt 2025-04-30 12:21:33 -07:00
parent c9015a7f2b
commit fc37600b8b
No known key found for this signature in database
63 changed files with 21 additions and 41 deletions

View file

@ -1,11 +0,0 @@
CREATE OR REPLACE FUNCTION update_artist_name(old_artist_name TEXT, new_artist_name TEXT)
RETURNS void AS $$
BEGIN
UPDATE listens
SET artist_name = new_artist_name
WHERE artist_name = old_artist_name;
UPDATE albums
SET artist_name = new_artist_name
WHERE artist_name = old_artist_name;
END;
$$ LANGUAGE plpgsql;