add SQLAlchemy plan record