We have defined a model SpatialRefSys to make a wrapper of PostGIS spatial_ref_sys table. However, the following error occurs when i'm trying to insert a new one.
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column spatial_ref_sys.created does not exist
LINE 1: ...ys.proj4text AS public_spatial_ref_sys_proj4text, public.spa...
This model must not inherit from BaseModel. It should be a simple model db.Model
We have defined a model
SpatialRefSys
to make a wrapper of PostGISspatial_ref_sys
table. However, the following error occurs when i'm trying to insert a new one.This model must not inherit from
BaseModel
. It should be a simple modeldb.Model