This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Cleans up IPB 3 database before importing it into another forum engine | |
-- tbl_* are project specific, could be removed | |
-- Remove banned members and members with no posts | |
delete m | |
from ipb_members m | |
left join tbl_user u on u.id = m.member_id | |
where | |
( | |
member_banned = 1 |