Skip to content

Commit fc6d035

Browse files
Merge pull request #3333 from kurtishouser/techniques-database
docs(database): fix links on Techniques/Database page
2 parents 8d194c1 + 82915c1 commit fc6d035

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/techniques/sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export class User {
296296
}
297297
```
298298

299-
> info **Hint** To learn more about relations in TypeORM, visit the [TypeORM documentation](https://typeorm.io/#/relations).
299+
> info **Hint** To learn more about relations in TypeORM, visit the [TypeORM documentation](https://typeorm.io/docs/relations/relations).
300300
301301
#### Auto-load entities
302302

@@ -324,7 +324,7 @@ With that option specified, every entity registered through the `forFeature()` m
324324
325325
#### Separating entity definition
326326

327-
You can define an entity and its columns right in the model, using decorators. But some people prefer to define entities and their columns inside separate files using the ["entity schemas"](https://typeorm.io/#/separating-entity-definition).
327+
You can define an entity and its columns right in the model, using decorators. But some people prefer to define entities and their columns inside separate files using the ["entity schemas"](https://typeorm.io/docs/entity/separating-entity-definition).
328328

329329
```typescript
330330
import { EntitySchema } from 'typeorm';
@@ -485,9 +485,9 @@ export class UsersModule {}
485485

486486
#### Migrations
487487

488-
[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).
488+
[Migrations](https://typeorm.io/docs/advanced-topics/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/docs/advanced-topics/migrations/#creating-a-new-migration).
489489

490-
Migration classes are separate from the Nest application source code. Their lifecycle is maintained by the TypeORM CLI. Therefore, you are not able to leverage dependency injection and other Nest specific features with migrations. To learn more about migrations, follow the guide in the [TypeORM documentation](https://typeorm.io/#/migrations/creating-a-new-migration).
490+
Migration classes are separate from the Nest application source code. Their lifecycle is maintained by the TypeORM CLI. Therefore, you are not able to leverage dependency injection and other Nest specific features with migrations. To learn more about migrations, follow the guide in the [TypeORM documentation](https://typeorm.io/docs/advanced-topics/migrations/).
491491

492492
#### Multiple databases
493493

0 commit comments

Comments
 (0)