Add Interval model to the database.