ALTER TABLE favorites DROP CONSTRAINT favorites_login_fkey;
ALTER TABLE playlist_content DROP CONSTRAINT plc_login_fkey;
ALTER TABLE requested DROP CONSTRAINT requested_login_fkey;
ALTER TABLE upvote DROP CONSTRAINT upvote_login_fkey;

ALTER TABLE playlist_content ALTER COLUMN fk_login SET DEFAULT 'admin';

ALTER TABLE favorites ADD CONSTRAINT favorites_login_fkey FOREIGN KEY(fk_login) REFERENCES users(pk_login) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE playlist_content ADD CONSTRAINT plc_login_fkey FOREIGN KEY(fk_login) REFERENCES users(pk_login) ON UPDATE CASCADE ON DELETE SET DEFAULT;
ALTER TABLE requested ADD CONSTRAINT requested_login_fkey FOREIGN KEY(fk_login) REFERENCES users(pk_login) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE upvote ADD CONSTRAINT upvote_login_fkey FOREIGN KEY(fk_login) REFERENCES users(pk_login) ON DELETE CASCADE ON UPDATE CASCADE;

DELETE FROM users WHERE nickname = 'Jean-Michel Normal';
DELETE FROM users WHERE nickname = 'Alex Teriyaki';
DELETE FROM users WHERE nickname = 'Beauf-kun';
DELETE FROM users WHERE nickname = 'Lionel Shaoran';
DELETE FROM users WHERE nickname = 'Pico';
DELETE FROM users WHERE nickname = 'Coco';
DELETE FROM users WHERE nickname = 'Chico';
DELETE FROM users WHERE nickname = 'MAMMUTH!';
DELETE FROM users WHERE nickname = 'Hokuto de Cuisine';
DELETE FROM users WHERE nickname = 'CLAMP Fanboy';
DELETE FROM users WHERE nickname = 'Anime was a mistake';
DELETE FROM users WHERE nickname = 'Dojinshi Police';
DELETE FROM users WHERE nickname = 'I love Emilia';
DELETE FROM users WHERE nickname = 'Pedobear';
DELETE FROM users WHERE nickname = 'Idolmaster > Love Live';
DELETE FROM users WHERE nickname = 'Love Live > Idolmaster';
DELETE FROM users WHERE nickname = E'Les yeux noisette d\'Asuna';
DELETE FROM users WHERE nickname = 'Miyazaki (retired)';
DELETE FROM users WHERE nickname = 'Random Isekai MC';
DELETE FROM users WHERE nickname = 'Great Mighty Poo';
DELETE FROM users WHERE nickname = 'Une simple rêveuse';
DELETE FROM users WHERE nickname = 'Kamel Deux Bâches';
DELETE FROM users WHERE nickname = 'KuriGohan and Kamehameha';
DELETE FROM users WHERE nickname = 'Gihren Zabi did nothing wrong';
DELETE FROM users WHERE nickname = 'Tentacle-chan';
DELETE FROM users WHERE nickname = 'Sheryl > Ranka';
DELETE FROM users WHERE nickname = 'Ranka > Sheryl';
DELETE FROM users WHERE nickname = 'Your waifu is shiiiiiiiiiit';
DELETE FROM users WHERE nickname = 'My Waifu > Your Waifu';
DELETE FROM users WHERE nickname = 'Mon Voisin Rototo';
DELETE FROM users WHERE nickname = 'Kaaaaaneeeeedaaaaaaa';
DELETE FROM users WHERE nickname = 'Teeeeetsuuuuoooooooooo';
DELETE FROM users WHERE nickname = 'ANO NE ANO NE!';
DELETE FROM users WHERE nickname = 'Asuka > Rei';
DELETE FROM users WHERE nickname = 'Rei > Asuka';
DELETE FROM users WHERE nickname = 'Rin > Saber';
DELETE FROM users WHERE nickname = 'Saber > Rin';
DELETE FROM users WHERE nickname = 'Yamakan';
DELETE FROM users WHERE nickname = 'KIMI NO SEI';
DELETE FROM users WHERE nickname = 'Bunny Girl senpai';
DELETE FROM users WHERE nickname = 'Silent Möbius DVD';
DELETE FROM users WHERE nickname = 'Livaï';
DELETE FROM users WHERE nickname = 'Rem > Ram';
DELETE FROM users WHERE nickname = 'Ram > Rem';
DELETE FROM users WHERE nickname = 'Gungnir Datto !?';
DELETE FROM users WHERE nickname = 'Ore no Uta wo kike!';
DELETE FROM users WHERE nickname = 'BUT IT WAS ME, DIO!';
DELETE FROM users WHERE nickname = 'Raphtalia > Holo';
DELETE FROM users WHERE nickname = 'Rôdeur de la nuit';
DELETE FROM users WHERE nickname = 'Isekai mom';
DELETE FROM users WHERE nickname = 'Rôdeur de la nuit';
DELETE FROM users WHERE nickname = 'KIMI GA';
DELETE FROM users WHERE nickname = 'A classified information';
DELETE FROM users WHERE nickname = 'Un Miam';
DELETE FROM users WHERE nickname = 'Groquik';