add field tripId to tickets, edit database.
Don`t forget to update database from dump:)