Skip to content

Commit

Permalink
chore: add db_reset make command (#9197)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu-narayanan committed Apr 5, 2024
1 parent fa3bc05 commit 95c8372
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -17,6 +17,9 @@ db_migrate:
db_seed:
RAILS_ENV=$(RAILS_ENV) bundle exec rails db:seed

db_reset:
RAILS_ENV=$(RAILS_ENV) bundle exec rails db:reset

db:
RAILS_ENV=$(RAILS_ENV) bundle exec rails db:chatwoot_prepare

Expand Down Expand Up @@ -49,4 +52,4 @@ debug_worker:
docker:
docker build -t $(APP_NAME) -f ./docker/Dockerfile .

.PHONY: setup db_create db_migrate db_seed db console server burn docker run force_run debug debug_worker
.PHONY: setup db_create db_migrate db_seed db_reset db console server burn docker run force_run debug debug_worker

0 comments on commit 95c8372

Please sign in to comment.