Changed model's primary key name from model_id to id