Skip to content

Commit ab498af

Browse files
committed
Merge branch 'main' into pull-playlist-information-from-db
2 parents 094190a + 2dc0a74 commit ab498af

File tree

4 files changed

+9
-39
lines changed

4 files changed

+9
-39
lines changed

backend/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,11 @@ If you now run [the frontend](../frontend/README.md) you should be able to commu
6262
## Running Tests
6363

6464
Tests can be run with `poetry run pytest`
65+
66+
67+
## Running DB Migrations
68+
69+
Load env variables with `source .env`
70+
Run Python locally `python3`
71+
Import migration file >>>: `from src.database.migrations.(migration_file_name) import up, down`
72+
Run migration >>>: `up()` / `down()`

backend/poetry.lock

Lines changed: 1 addition & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ pydantic = "^2.6.4"
1818
requests = "^2.32.3"
1919
gunicorn = "^22.0.0"
2020
peewee = "^3.17.6"
21-
psycopg = "^3.2.1"
2221
asyncio = "^3.4.3"
2322
psycopg2 = "^2.9.9"
2423

frontend/eslint.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ export default [
1010
pluginJs.configs.recommended,
1111
...tseslint.configs.recommended,
1212
pluginReact.configs.flat.recommended,
13-
// {
14-
// rules: {"unused-imports/no-unused-imports": "error"}
15-
// },
1613
{
1714
ignores: ["public/bundle.js"],
1815
},

0 commit comments

Comments
 (0)