You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2021. It is now read-only.
SQLAlchemy provides an autoincrementing primary key by default (also referred to as "serial"). The GeoName table uses geonameid as the primary key and these numbers are externally defined, so the table should not have autoincrement enabled. We need to:
Disable autoincrement in the model
Add a migration to remove it from the database
The text was updated successfully, but these errors were encountered:
SQLAlchemy provides an autoincrementing primary key by default (also referred to as "serial"). The
GeoName
table usesgeonameid
as the primary key and these numbers are externally defined, so the table should not have autoincrement enabled. We need to:The text was updated successfully, but these errors were encountered: