Change model ID type to INTEGER
Modify db and adjust API