diff --git a/content/techniques/sql.md b/content/techniques/sql.md index 512f7be540..a9764b9775 100644 --- a/content/techniques/sql.md +++ b/content/techniques/sql.md @@ -436,7 +436,7 @@ async createMany(users: User[]) { #### Subscribers -With TypeORM [subscribers](https://typeorm.io/#/listeners-and-subscribers/what-is-a-subscriber), you can listen to specific entity events. +With TypeORM [subscribers](https://typeorm.io/docs/advanced-topics/listeners-and-subscribers#what-is-a-subscriber), you can listen to specific entity events. ```typescript import { @@ -483,8 +483,6 @@ import { UserSubscriber } from './user.subscriber'; export class UsersModule {} ``` -> info **Hint** Learn more about entity subscribers [here](https://typeorm.io/#/listeners-and-subscribers/what-is-a-subscriber). - #### Migrations [Migrations](https://typeorm.io/#/migrations) provide a way to incrementally update the database schema to keep it in sync with the application's data model while preserving existing data in the database. To generate, run, and revert migrations, TypeORM provides a dedicated [CLI](https://typeorm.io/#/migrations/creating-a-new-migration).