-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(client): dialog for when user logs out * added auth cleanup and user addition to db * lint * changed ci * Update auth.service.ts * Feature: Changed dark mode settings toggle to icon button in sidebar (Sidebar Dark Mode Icon #850) (#850) * adding redirect link to devsoc * made dark mode button component * removed dark mode toggle * removed darkmode toggle from settings * made sidebar footer icons padding consistent * added prop type for dark mode button * sync dark mode button updates * fully implemented dark mode button --------- Co-authored-by: ray <raiyan.ahmed@gmail.com> Co-authored-by: Dylan Zhang <dylan.zhang15@gmail.com> * docs: added our latest 2024 subcom member * renamed migrations * testing out db migration changes * changing script * changing host name redirect handler * fixed redirect details * docker file fixed * cleaned conditional * removing migrations folder --------- Co-authored-by: hhuolu <chhuolucy@gmail.com> Co-authored-by: dlyn <100419289+dlynz@users.noreply.github.com> Co-authored-by: Dylan Zhang <dylan.zhang15@gmail.com> Co-authored-by: Shaam <shaamjevan.sj@gmail.com> Co-authored-by: Jasmine Tran <z5394841@ad.unsw.edu.au>
- Loading branch information
1 parent
17d5d61
commit 03fc031
Showing
5 changed files
with
35 additions
and
4 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,16 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
cd /app/prisma | ||
|
||
# Check if there are any migrations | ||
if [ -z "$(ls -A migrations)" ]; then | ||
echo "No existing migrations found. Creating initial migration..." | ||
else | ||
echo "Existing migrations found. Deleting and reapplying..." | ||
rm -rf migrations/* | ||
fi | ||
|
||
npx prisma migrate dev --name init | ||
npx prisma generate |
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