fixed database, fixed seed file, fixed associations, fixed flights-edit