[api] missing migration part

git and me :/