adds schema and migration