Skip to content

Commit

Permalink
Closes #68
Browse files Browse the repository at this point in the history
Remove old migration script
  • Loading branch information
Sojusan committed Nov 21, 2024
1 parent 2404c03 commit 7f6137f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 41 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ db:
db_down:
docker compose down db

apply_migrations:
@cd scripts && pwsh apply_migrations.ps1
@cd ../

.PHONY: dev no-reload db db_down apply_migrations
.PHONY: dev no-reload db db_down
.DEFAULT_GOAL := dev
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ dotnet dev-certs https -ep .aspnet/https/aspnetapp.pfx -p devcertpasswd --trust

Database migrations will be automatically applied when executing docker-compose via the `migrations` service.

> In order to run them manually go to the `scripts` directory and run `apply_migrations.ps1`.
Next You should go back to the main directory and run `docker compose --profile hot-reload up --build --watch`

You can now visit the site at: <http://localhost:8888/>
Expand Down
3 changes: 0 additions & 3 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Right now there are this scripts:
- `create_branch.ps1`
- `clean_branches.ps1`
- `create_pr.ps1`
- `apply_migrations.ps1`

Two out of those (`create_branch.ps1` and `create_pr.ps1`) require user to have GitHub CLI installed and to be logged in.

Expand All @@ -33,5 +32,3 @@ Two out of those (`create_branch.ps1` and `create_pr.ps1`) require user to have
- `.\scripts\create_branch.ps1 -Assignee sojusan`

- `clean_branches.ps1` - clears all of the local branches except for master and the current one.

- `apply_migrations.ps1` - runs a project database in a docker container and performs migrations in the database.
31 changes: 0 additions & 31 deletions scripts/apply_migrations.ps1

This file was deleted.

0 comments on commit 7f6137f

Please sign in to comment.