 DROP TABLE IF EXISTS "kronos_periods" CASCADE;
 DROP TABLE IF EXISTS "kronos_sources" CASCADE;
 DROP TABLE IF EXISTS "kronos_antennae" CASCADE;
 DROP TABLE IF EXISTS "kronos_mfl" CASCADE;
 DROP TABLE IF EXISTS "kronos_ephem" CASCADE;
 DROP TABLE IF EXISTS "kronos_2hours" CASCADE;
 DROP TABLE IF EXISTS "kronos_loc" CASCADE;
 DROP TABLE IF EXISTS "kronos_n3" CASCADE;
 DROP TABLE IF EXISTS "kronos_days" CASCADE;
 DROP TABLE IF EXISTS "kronos_hours" CASCADE;
 DROP TABLE IF EXISTS "kronos_loc_err" CASCADE;
 DROP FUNCTION public.fill_holes();
 DROP FUNCTION public.fill_periods();
 DROP FUNCTION public.get_timestamp(smallint, smallint, smallint);
 DROP FUNCTION public.get_ydh(timestamp without time zone);
 DROP FUNCTION public.upsert_2hour(smallint, smallint, smallint, text, text, anyelement);
 DROP FUNCTION public.upsert_day(smallint, smallint, text, text, timestamp without time zone);
 DROP FUNCTION public.upsert_ephem(smallint, smallint, text, character, character, timestamp without time zone);
 DROP FUNCTION public.upsert_file(text, timestamp without time zone, text);
 DROP FUNCTION public.upsert_hour(smallint, smallint, smallint, text, text, anyelement);
 DROP FUNCTION public.upsert_loc(smallint, smallint, smallint, text, text, text, timestamp without time zone);
 DROP FUNCTION public.upsert_loc_err(smallint, smallint, smallint, text, smallint, text, text, timestamp without time zone);
 DROP FUNCTION public.upsert_n3(smallint, smallint, smallint, character, character, text, text, anyelement);
 DROP FUNCTION public.upsert_period(text, boolean, timestamp without time zone);
 DROP VIEW end_date;
 DROP VIEW start_date;
