Skip to content

Commit 8aa9d8d

Browse files
committed
fix multiple alembic heads
1 parent 2b39d31 commit 8aa9d8d

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

backend/app/alembic/versions/2025_02_23_add_gin_index_patient_history.py renamed to backend/app/alembic/versions/60300545fecf_add_fulltext_index_for_patient_medical_.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
"""Add GIN index on patient medical_history
1+
"""add fulltext index for patient.medical_history
22
3-
Revision ID: 2025_02_23_gin_idx
4-
Revises:
5-
Create Date: 2025-02-23 10:00:00.000000
3+
Revision ID: 60300545fecf
4+
Revises: 9e47d43a4b8a
5+
Create Date: 2025-02-23 19:56:05.494933
66
77
"""
88
from alembic import op
9+
import sqlalchemy as sa
10+
import sqlmodel.sql.sqltypes
11+
912

1013
# revision identifiers, used by Alembic.
11-
revision = '2025_02_23_gin_idx'
12-
down_revision = None
14+
revision = '60300545fecf'
15+
down_revision = '9e47d43a4b8a'
1316
branch_labels = None
1417
depends_on = None
1518

backend/app/alembic/versions/2025_02_23_add_attachment_storage_path.py renamed to backend/app/alembic/versions/e62dc93fe967_add_storage_path_to_attachment_model.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
"""Add storage_path to Attachment model
22
3-
Revision ID: 2025_02_23_storage_path
4-
Revises: 2025_02_23_gin_idx
5-
Create Date: 2025-02-23 11:00:00.000000
3+
Revision ID: e62dc93fe967
4+
Revises: 60300545fecf
5+
Create Date: 2025-02-23 19:56:35.403358
66
77
"""
88
from alembic import op
99
import sqlalchemy as sa
10+
import sqlmodel.sql.sqltypes
11+
1012

1113
# revision identifiers, used by Alembic.
12-
revision = '2025_02_23_storage_path'
13-
down_revision = '2025_02_23_gin_idx'
14+
revision = 'e62dc93fe967'
15+
down_revision = '60300545fecf'
1416
branch_labels = None
1517
depends_on = None
1618

0 commit comments

Comments
 (0)