kintone excel new format
This commit is contained in:
@@ -291,3 +291,7 @@ def create_log(db: Session, error:schemas.ErrorCreate):
|
|||||||
db.commit()
|
db.commit()
|
||||||
db.refresh(db_log)
|
db.refresh(db_log)
|
||||||
return db_log
|
return db_log
|
||||||
|
|
||||||
|
def get_kintoneformat(db: Session):
|
||||||
|
formats = db.query(models.KintoneFormat).order_by(models.KintoneFormat.id).all()
|
||||||
|
return formats
|
||||||
@@ -95,7 +95,18 @@ class EventAction(Base):
|
|||||||
|
|
||||||
class ErrorLog(Base):
|
class ErrorLog(Base):
|
||||||
__tablename__ = "errorlog"
|
__tablename__ = "errorlog"
|
||||||
id = Column(Integer, primary_key=True, index=True)
|
|
||||||
title = Column(String(50))
|
title = Column(String(50))
|
||||||
location = Column(String(500))
|
location = Column(String(500))
|
||||||
content = Column(String(5000))
|
content = Column(String(5000))
|
||||||
|
|
||||||
|
class KintoneFormat(Base):
|
||||||
|
__tablename__ = "kintoneformat"
|
||||||
|
|
||||||
|
name = Column(String(50))
|
||||||
|
startrow =Column(Integer)
|
||||||
|
startcolumn =Column(Integer)
|
||||||
|
typecolumn =Column(Integer)
|
||||||
|
codecolumn =Column(Integer)
|
||||||
|
field = Column(String(5000))
|
||||||
|
trueformat = Column(String(10))
|
||||||
Reference in New Issue
Block a user