the id should be interface{} for postgres adapter