hunk.code_window:                     directory = connectionOptions.cli ? (connectionOptions.cli.subscribersDir || "") : "";
                   } catch (err) { }
               }
               const path = (directory.startsWith("/") ? "" : process.cwd() + "/") + (directory ? (directory + "/") : "") + filename;
               await CommandUtils.createFile(path, fileContent);
               console.log(chalk.green(`Subscriber ${chalk.blue(path)} has been created successfully.`));
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:             if (directory && !directory.startsWith("/")) {
                   directory = process.cwd() + "/" + directory;
               }
               const path = (directory ? (directory + "/") : "") + filename;
  
hunk.file_path: src/commands/SubscriberCreateCommand.ts
hunk.type: replace
file: import "reflect-metadata";
  import {expect} from "chai";
  import {Post} from "./entity/Post";
  import {Connection} from "../../../../../src/connection/Connection";
  import {closeTestingConnections, createTestingConnections, reloadTestingDatabases} from "../../../../utils/test-utils";
  
  describe("database schema > column length > mysql", () => {
  
      let connections: Connection[];
      before(async () => {
          connections = await createTestingConnections({
              entities: [Post],
              enabledDrivers: ["mysql"],
          });
      });
      beforeEach(() => reloadTestingDatabases(connections));
      after(() => closeTestingConnections(connections));
  
      it("all types should be created with correct length", () => Promise.all(connections.map(async connection => {
  
          const queryRunner = connection.createQueryRunner();
          const table = await queryRunner.getTable("post");
          await queryRunner.release();
  
          expect(table!.findColumnByName("char")!.length).to.be.equal("50");
          expect(table!.findColumnByName("varchar")!.length).to.be.equal("50");
          
      })));
  
      it("all types should update their length", () => Promise.all(connections.map(async connection => {
          
          let metadata = connection.getMetadata(Post);
          metadata.findColumnWithPropertyName("char")!.length = "100";
          metadata.findColumnWithPropertyName("varchar")!.length = "100";
          
          await connection.synchronize(false);        
  
          const queryRunner = connection.createQueryRunner();
          const table = await queryRunner.getTable("post");
          await queryRunner.release();
  
          expect(table!.findColumnByName("char")!.length).to.be.equal("100");
          expect(table!.findColumnByName("varchar")!.length).to.be.equal("100");
          
      })));
  
  });
  