mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
8 lines
200 B
Python
8 lines
200 B
Python
from application import db, app
|
|
from application.models import AllowedPlate
|
|
|
|
with app.app_context():
|
|
AllowedPlate.query.delete()
|
|
db.session.add(AllowedPlate("MUN389"))
|
|
db.session.commit()
|