-- Renames the seeded "Owner" system role to "Administrator" for every -- existing business. This is a pure rename of a per-business Role row's -- display name -- the permissions attached to it, the StaffProfile rows -- assigned to it, and every authorization check in the app (which is -- already keyed on holding the MANAGE_STAFF permission, never on this -- name) are all unaffected. Scoped to isSystem = true so a business that -- happens to have created its own custom role literally named "Owner" -- (not possible today -- there is no role-creation UI yet -- but scoped -- defensively anyway) is left untouched. UPDATE `Role` SET `name` = 'Administrator' WHERE `name` = 'Owner' AND `isSystem` = true;