Skip to content

Example project showcasing automatic database migrations with TypeORM in an Express app.

Notifications You must be signed in to change notification settings

AngusLin10/typeorm_express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typeorm_express

Example project showcasing automatic database migrations with TypeORM in an Express app.

Run the server app

The auto migrations running (migrationsRun: true)

yarn start

All custom commands in package.json

yarn typeorm
yarn migration:run
yarn migration:revert
yarn migration:show

Create empty migration files

yarn typeorm migration:create -- src/migration/user

Generate migration files for existing entities.

yarn typeorm migration:generate -- src/migration/user -d src/data-source.ts

About

Example project showcasing automatic database migrations with TypeORM in an Express app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published