-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(soft-delete-student-class): soft-delete when removing studen…
…t from class
- Loading branch information
1 parent
c5dae21
commit 9863288
Showing
5 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SHELL := /bin/zsh | ||
|
||
# Loading all context of ~/.zshrc | ||
.SHELLFLAGS := -c '. ~/.zshrc; exec "$$0"' | ||
CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD) | ||
REMOTE := origin | ||
|
||
clean: | ||
echo "Preparing to setup soft-delete" | ||
rails generate migration AddDeletedAtToCourseUsers deleted_at:datetime:index | ||
rails db:migrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters