Skip to content

This repo shows off how to do nestjs migrations using env variables

License

Notifications You must be signed in to change notification settings

Tenacity-Dev/nestjs-migrations-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nestjs migrations

To run this repo, create a .env file for the docker compose file and for the nestjs backend. I have added the .example postfix on my already existing env files.

To run the database container:

docker compose up --build --detach

Go to the migrations-backend directory and run:

npm run start:dev

The migrations scripts are inside the package.json file inside the migrations-backend directory

About

This repo shows off how to do nestjs migrations using env variables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published