Fixed problem with rails primary key.
Fixed problem with rails primary key.

We need to remove the uniqueness scope to use 
api_id as primary key.
simplelogica/lazy-data-api,simplelogica/lazy-data-api,simplelogica/lazy-data-api