Skip to content

Commit 2cc2b5d

Browse files
committed
reset alembic migrations and set up migrations pre-commit check
1 parent ed82d51 commit 2cc2b5d

7 files changed

+10
-362
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ repos:
99
args: [ --fix ]
1010
# Run the formatter.
1111
- id: ruff-format
12+
- repo: local
13+
hooks:
14+
# Check there are no migrations missing
15+
- id: alembic
16+
name: alembic
17+
stages: [commit]
18+
types: [python]
19+
entry: alembic -c core/db/alembic.ini check
20+
language: system
21+
pass_filenames: false
1222
- repo: local
1323
hooks:
1424
# Run the tests

core/db/migrations/versions/06e603d6e19a_add_state_action_info.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

core/db/migrations/versions/4f79e6952354_added_complexity_to_specification.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

core/db/migrations/versions/5b04ea6afce5_add_agent_info_to_llm_request_log.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

core/db/migrations/versions/dbc3fd7ef89b_record_prompt_data.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

core/db/migrations/versions/e7b54beadf8f_initial.py

Lines changed: 0 additions & 120 deletions
This file was deleted.

core/db/migrations/versions/fd206d3095d0_store_request_input_exec_logs_to_db.py

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)