webcompat / webcompat-metrics-server

Server in charge of delivering different data to the webcompat-metrics-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change id column types from INT to SERIAL in table models

laghee opened this issue · comments

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.

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.