Skip to content

Commit

Permalink
Merge pull request #316 from rubiin/feat/scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin authored Oct 1, 2023
2 parents 19e4389 + 9c8a16d commit 58b6b6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ seed env="dev":
test-e2e env="dev":
USER_PASSWORD=Test@1234 NODE_ENV={{env}} yarn test:e2e

# will drop the database, run all migrations
seed-fresh env="dev":
NODE_ENV={{env}} npm run orm migration:fresh --seed


# clean all auto generated files and generate initial migration file
init: clean-files build makemigration

# clean all auto generated files and run migration
clean-db: unmigrate migrate seed

# clean all auto generated files
clean-files:
rm -rf temp
Expand Down

0 comments on commit 58b6b6c

Please sign in to comment.