from application import db, app from models import AllowedPlate with app.app_context(): db.session.add(AllowedPlate("MUN389")) db.session.commit()