hunk.code_window: That's all! Now you have your database schema up-to-date.
   If for some reason you want to revert the changes, you can run:
   ```
   typeorm migrations:revert
   ```
   This command will execute `down` in the latest executed migration. 
   If you need to revert multiple migrations you must call this command multiple times. 
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit: typeorm migration:revert
  
hunk.file_path: docs/migrations.md
hunk.type: replace
file: import {getMetadataArgsStorage} from "../../";
  import {EntitySubscriberMetadataArgs} from "../../metadata-args/EntitySubscriberMetadataArgs";
  
  /**
   * Classes decorated with this decorator will listen to ORM events and their methods will be triggered when event
   * occurs. Those classes must implement EventSubscriberInterface interface.
   */
  export function EventSubscriber() {
      return function (target: Function) {
  
          getMetadataArgsStorage().entitySubscribers.push({
              target: target
          } as EntitySubscriberMetadataArgs);
      };
  }