created migration for spaces