Spaces:
Running

axeronis commited on
Commit
bd67dde
·
1 Parent(s): 0e26c38

Fix down_revision to use correct revision ID

Browse files
backend/alembic/versions/2026_01_26_add_psychotype_enums.py CHANGED
@@ -1,7 +1,7 @@
1
  """Add new psychotype enum values for extended DISC classification.
2
 
3
  Revision ID: add_psychotype_enums
4
- Revises: 2026_01_24_granular_notifications
5
  Create Date: 2026-01-26
6
  """
7
  from alembic import op
@@ -9,11 +9,12 @@ import sqlalchemy as sa
9
 
10
  # revision identifiers
11
  revision = 'add_psychotype_enums'
12
- down_revision = '2026_01_24_granular_notifications'
13
  branch_labels = None
14
  depends_on = None
15
 
16
 
 
17
  def upgrade():
18
  """Add new psychotype values to the PostgreSQL ENUM."""
19
  # In PostgreSQL, we need to ALTER TYPE to add new enum values
 
1
  """Add new psychotype enum values for extended DISC classification.
2
 
3
  Revision ID: add_psychotype_enums
4
+ Revises: 2026_01_24_granular_notif
5
  Create Date: 2026-01-26
6
  """
7
  from alembic import op
 
9
 
10
  # revision identifiers
11
  revision = 'add_psychotype_enums'
12
+ down_revision = '2026_01_24_granular_notif'
13
  branch_labels = None
14
  depends_on = None
15
 
16
 
17
+
18
  def upgrade():
19
  """Add new psychotype values to the PostgreSQL ENUM."""
20
  # In PostgreSQL, we need to ALTER TYPE to add new enum values