generated migrations and db tables

Abi -- our first cut at generating migration