Skip to content

Commit

Permalink
Merge pull request #438 from dump-hr/dbaric99/database-schema-update
Browse files Browse the repository at this point in the history
update schema
  • Loading branch information
lovretomic authored Jan 2, 2025
2 parents d5bd066 + 4ee7d9e commit 78b34d9
Show file tree
Hide file tree
Showing 36 changed files with 1,577 additions and 8,948 deletions.
16 changes: 8 additions & 8 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": true,
"semi": true,
"jsxBracketSameLine": true,
"endOfLine": "auto",
"trailingComma": "all"
}
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": true,
"semi": true,
"jsxBracketSameLine": true,
"endOfLine": "auto",
"trailingComma": "all"
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules\\typescript\\lib"
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.tabSize": 4
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">DUMP Days App</h1>

Env | CI status
---------- | ---------
Production | ![Deploy](https://github.com/dump-hr/ddays-app/actions/workflows/deploy.yml/badge.svg?branch=main) ![Lint](https://github.com/dump-hr/ddays-app/actions/workflows/lint.yml/badge.svg?branch=main)
| Env | CI status |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Production | ![Deploy](https://github.com/dump-hr/ddays-app/actions/workflows/deploy.yml/badge.svg?branch=main) ![Lint](https://github.com/dump-hr/ddays-app/actions/workflows/lint.yml/badge.svg?branch=main) |

## Development

Expand All @@ -15,7 +15,7 @@ Production | ![Deploy](https://github.com/dump-hr/ddays-app/actions/workflows/de

1. Run `docker compose up` in separate terminal or follow steps below if you already have postgres server running locally.

If you use local postgres db server, create manually new database named `ddays-app`
If you use local postgres db server, create manually new database named `ddays-app`

2. Create `.env.local` file that can override configuration options from `.env` in web/api apps.

Expand Down
2 changes: 1 addition & 1 deletion apps/admin/src/pages/SpeakerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const SpeakerPage = () => {
<FileUpload
src={
speakers.data?.find((speaker) => speaker.id === speakerToEditId)
?.photo
?.photo?.mainPhotoUrl
}
handleUpload={handleUpload}
handleRemove={handleRemove}
Expand Down
Empty file removed apps/api/db/migrations/.gitkeep
Empty file.
191 changes: 0 additions & 191 deletions apps/api/db/migrations/0000_cooing_wallflower.sql

This file was deleted.

1 change: 0 additions & 1 deletion apps/api/db/migrations/0001_steep_warbird.sql

This file was deleted.

7 changes: 0 additions & 7 deletions apps/api/db/migrations/0002_pink_violations.sql

This file was deleted.

1 change: 0 additions & 1 deletion apps/api/db/migrations/0003_cute_glorian.sql

This file was deleted.

1 change: 0 additions & 1 deletion apps/api/db/migrations/0004_high_amphibian.sql

This file was deleted.

2 changes: 0 additions & 2 deletions apps/api/db/migrations/0005_happy_shaman.sql

This file was deleted.

32 changes: 0 additions & 32 deletions apps/api/db/migrations/0006_violet_vin_gonzales.sql

This file was deleted.

3 changes: 0 additions & 3 deletions apps/api/db/migrations/0007_bitter_newton_destine.sql

This file was deleted.

20 changes: 0 additions & 20 deletions apps/api/db/migrations/0008_right_roland_deschain.sql

This file was deleted.

14 changes: 0 additions & 14 deletions apps/api/db/migrations/0009_old_lady_ursula.sql

This file was deleted.

1 change: 0 additions & 1 deletion apps/api/db/migrations/0010_slimy_stature.sql

This file was deleted.

Loading

0 comments on commit 78b34d9

Please sign in to comment.