db: fix the initial migration