This commit is contained in:
2023-10-23 00:13:06 +08:00
parent 558c7ec857
commit 863b34cea3
5 changed files with 149 additions and 24 deletions

View File

@@ -1,11 +1,7 @@
# coding: utf-8
from sqlalchemy import Column, DateTime, Integer, String
from sqlalchemy.schema import FetchedValue
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
from application import app,db
class Deviceinfo(db.Model):
__tablename__ = 'deviceinfo'