Generate initial db schema