webcompat / webcompat-metrics-server

Server in charge of delivering different data to the webcompat-metrics-client
Mozilla Public License 2.0
6 stars 5 forks source link

Change id column types from INT to SERIAL in table models #113

Closed laghee closed 5 years ago

laghee commented 5 years ago

While working on import script for needsdiagnosis backup, I ran into failures in insertion with an Integer type for the ID column. Probably best to change this.

laghee commented 5 years ago

Nope, turns out this is an issue with the migration setup. Using an integer type should actually be fine -- SQL_Alchemy handles primary key auto-increment under the hood.