DROP TABLE IF EXISTS Log;
DROP TABLE IF EXISTS Location;
DROP TABLE IF EXISTS LocationLog;
+DROP TABLE IF EXISTS PathVisibility;
+DROP TABLE IF EXISTS PathHierarchy;
END-OF-DATA
then
echo "Deletion of ${db_name} MySQL tables succeeded."
grant all on locationlog to ${db_user};
grant all on log to ${db_user};
grant all on jobhisto to ${db_user};
-
+grant all on PathHierarchy to ${db_user};
+grant all on PathVisibility to ${db_user};
-- for sequences on those tables
grant select, update on filename_filenameid_seq to ${db_user};
grant select, update on location_locationid_seq to ${db_user};
grant select, update on locationlog_loclogid_seq to ${db_user};
grant select, update on log_logid_seq to ${db_user};
-
END-OF-DATA
if [ $? -eq 0 ]
then