@@ -78,7 +78,7 @@ instead of deprecated way:
7878## Model definition
7979
8080``` typescript
81- import { Table , Column , Model , HasMany } from ' sequelize-typescript' ;
81+ import { Table , Column , Model , HasMany } from ' @vcacanada/ sequelize-typescript' ;
8282
8383@Table
8484class Person extends Model {
@@ -96,7 +96,7 @@ class Person extends Model {
9696### Less strict
9797
9898``` typescript
99- import { Table , Model } from ' sequelize-typescript' ;
99+ import { Table , Model } from ' @vcacanada/ sequelize-typescript' ;
100100
101101@Table
102102class Person extends Model {}
@@ -105,8 +105,8 @@ class Person extends Model {}
105105### More strict
106106
107107``` typescript
108- import { Optional } from ' sequelize' ;
109- import { Table , Model } from ' sequelize-typescript' ;
108+ import { Optional } from ' @vcacanada/ sequelize' ;
109+ import { Table , Model } from ' @vcacanada/ sequelize-typescript' ;
110110
111111interface PersonAttributes {
112112 id: number ;
@@ -185,7 +185,7 @@ the js type can be inferred automatically (see [Type inference](#type-inference)
185185If the type cannot or should not be inferred, use:
186186
187187``` typescript
188- import {DataType } from ' sequelize-typescript' ;
188+ import {DataType } from ' @vcacanada/ sequelize-typescript' ;
189189
190190 @Column (DataType .TEXT )
191191 name : string ;
@@ -268,7 +268,7 @@ Except for minor variations _sequelize-typescript_ will work like pure sequelize
268268To make the defined models available, you have to configure a ` Sequelize ` instance from ` sequelize-typescript ` (!).
269269
270270``` typescript
271- import { Sequelize } from ' sequelize-typescript' ;
271+ import { Sequelize } from ' @vcacanada/ sequelize-typescript' ;
272272
273273const sequelize = new Sequelize ({
274274 database: ' some_db' ,
@@ -292,7 +292,7 @@ sequelize.addModels(['path/to/models']);
292292### globs
293293
294294``` typescript
295- import {Sequelize } from ' sequelize-typescript' ;
295+ import {Sequelize } from ' @vcacanada/ sequelize-typescript' ;
296296
297297const sequelize = new Sequelize ({
298298 ...
@@ -319,7 +319,7 @@ For example, if your models are named `user.model.ts`, and your class is called
319319` User ` , you can match these two by using the following function:
320320
321321``` typescript
322- import {Sequelize } from ' sequelize-typescript' ;
322+ import {Sequelize } from ' @vcacanada/ sequelize-typescript' ;
323323
324324const sequelize = new Sequelize ({
325325 models: [__dirname + ' /models/**/*.model.ts' ]
@@ -334,7 +334,7 @@ will be called with its exported members. E.g. for the following file
334334
335335``` TypeScript
336336// user.model.ts
337- import {Table , Column , Model } from ' sequelize-typescript' ;
337+ import {Table , Column , Model } from ' @vcacanada/ sequelize-typescript' ;
338338
339339export const UserN = ' Not a model' ;
340340export const NUser = ' Not a model' ;
0 commit comments