added post model, migration/upgrade/downgrade scripts