hunk.code_window: Once you setup connection options you can create a new migration using CLI:
   ```
   typeorm migrations:create -n PostRefactoring
   ```
   To use CLI commands, you need to install typeorm globally (`npm i typeorm -g`).
   Also, make sure your local typeorm version matches the global version.
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit: typeorm migration:create -n PostRefactoring
  
hunk.file_path: docs/migrations.md
hunk.type: replace
file: import "reflect-metadata";
  import { closeTestingConnections, createTestingConnections, reloadTestingDatabases } from "../../utils/test-utils";
  import { Connection } from "../../../src/connection/Connection";
  
  import { Master } from "./entities/master";
  import { Detail } from "./entities/detail";
  
  describe("indices > create schema", () => {
  
      let connections: Connection[];
      before(async () => connections = await createTestingConnections({
          entities: [Master, Detail],
      }));
      beforeEach(() => reloadTestingDatabases(connections));
      after(() => closeTestingConnections(connections));
  
      describe("build schema", function () {
  
          it("it should just work, creating the index", () => Promise.all(connections.map(async connection => {
  
              await connection.synchronize(true);
  
          })));
  
      });
  
  });
  