-- This script clears all data from the database tables related to the port management system.

DELETE FROM notification WHERE id > 0;

DELETE FROM history WHERE id > 0;

DELETE FROM notification WHERE id > 0;

DELETE FROM shipcall_participant_map WHERE id > 0;

DELETE FROM participant_port_map WHERE id > 0;

DELETE FROM shipcall_tug_map WHERE id > 0;

DELETE FROM times WHERE id > 0;

DELETE FROM shipcall WHERE id > 0;

DELETE FROM user_role_map WHERE id > 0;

DELETE FROM role_securable_map WHERE id > 0;

DELETE FROM user_role_map WHERE id > 0;

DELETE FROM securable WHERE id > 0;

DELETE FROM role WHERE id > 0;

DELETE FROM user WHERE id > 0;

delete FROM ship WHERE id > 0;

DELETE FROM berth WHERE id > 0;

DELETE FROM participant WHERE id > 0;

DELETE FROM port WHERE id > 0;