Skip to content

Commit

Permalink
update id to bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbull committed Jun 12, 2024
1 parent 013ce96 commit a200aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/models/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from geoalchemy2 import Geography
from sqlalchemy import Boolean, Column, DateTime, Float, Integer, Interval, String
from sqlalchemy import BigInteger, Boolean, Column, DateTime, Float, Integer, Interval, String
from sqlalchemy.inspection import inspect
from sqlalchemy.orm import declarative_base
from sqlalchemy.sql import func
Expand All @@ -11,7 +11,7 @@

class WaveForecast(Base):
__tablename__ = "wave_forecast"
id = Column(Integer, primary_key=True)
id = Column(BigInteger, primary_key=True)
location = Column(Geography("POINT", srid=4326))
latitude = Column(Float)
longitude = Column(Float)
Expand Down

0 comments on commit a200aea

Please sign in to comment.