Typos
This commit is contained in:
parent
a14ad8f5f7
commit
b5710b3dfb
|
@ -8,6 +8,7 @@ from collections import defaultdict
|
|||
from . import utils
|
||||
|
||||
from papi.sqlapp.database import Base, SessionLocal, engine
|
||||
from papi.sqlapp import crud
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Sonde(Base):
|
|||
|
||||
|
||||
class Mesure(Base):
|
||||
__tablename__ == "mesure"
|
||||
__tablename__ = "mesure"
|
||||
mesure_id = Column(Integer, primary_key=True, index=True)
|
||||
sonde_id = Column(Integer, Foreignkey("sonde.id"))
|
||||
sonde_id = Column(Integer, ForeignKey("sonde.sonde_id"))
|
||||
content = Column(JSON, nullable=False)
|
||||
|
|
Loading…
Reference in New Issue