INSERT INTO SITE (ID_INTERNAL, KEY_ROOT_DOMAIN_OBJECT, OJB_CONCRETE_CLASS, SITE_TYPE) VALUES (1, 1, 'net.sourceforge.fenixedu.domain.SiteTemplate', 'net.sourceforge.fenixedu.domain.DegreeSite');
INSERT INTO SITE (ID_INTERNAL, KEY_ROOT_DOMAIN_OBJECT, OJB_CONCRETE_CLASS, SITE_TYPE) VALUES (2, 1, 'net.sourceforge.fenixedu.domain.SiteTemplate', 'net.sourceforge.fenixedu.domain.homepage.Homepage');
INSERT INTO SITE (ID_INTERNAL, KEY_ROOT_DOMAIN_OBJECT, OJB_CONCRETE_CLASS, SITE_TYPE) VALUES (3, 1, 'net.sourceforge.fenixedu.domain.SiteTemplate', 'net.sourceforge.fenixedu.domain.ExecutionCourseSite');
INSERT INTO SITE (ID_INTERNAL, KEY_ROOT_DOMAIN_OBJECT, OJB_CONCRETE_CLASS, SITE_TYPE) VALUES (4, 1, 'net.sourceforge.fenixedu.domain.SiteTemplate', 'net.sourceforge.fenixedu.domain.DepartmentSite');

UPDATE ACCESSIBLE_ITEM SET KEY_SITE = 1 WHERE KEY_SITE = 183;
UPDATE ACCESSIBLE_ITEM SET KEY_SITE = 2 WHERE KEY_SITE = 922;
UPDATE ACCESSIBLE_ITEM SET KEY_SITE = 3 WHERE KEY_SITE = 139;
UPDATE ACCESSIBLE_ITEM SET KEY_SITE = 4 WHERE KEY_SITE = 231;