added SQL for upgrading and migrating permissions to fuel_relationships