create posts and types table migration, database and tables created