factored out pkgs_schedules table
added populate function for pkgs_schedules
added init_avail_seat trigger