0009_stable_symbol_kind.py
python
sha256:8e05daa29ba6702b4a2380a16d690ba31cc099d69c5c859bc6e6f16a0e945f99
Merge 'fix/deploy-memory-limits-and-log-group' into 'dev' —…
Human
7 days ago
| 1 | """stable_symbol_kind |
| 2 | |
| 3 | Adds ``symbol_kind`` VARCHAR(64) column to ``musehub_intel_stable`` |
| 4 | so each stability row carries the symbol kind (function, method, class, etc.) |
| 5 | derived from ``musehub_symbol_intel.symbol_kind``. NULL for rows written |
| 6 | before this migration. |
| 7 | |
| 8 | Revision ID: 0009 |
| 9 | Revises: 0008 |
| 10 | Create Date: 2026-05-04 00:00:00.000000+00:00 |
| 11 | """ |
| 12 | from __future__ import annotations |
| 13 | |
| 14 | from typing import Sequence, Union |
| 15 | |
| 16 | import sqlalchemy as sa |
| 17 | from alembic import op |
| 18 | |
| 19 | revision: str = "0009" |
| 20 | down_revision: Union[str, None] = "0008" |
| 21 | branch_labels: Union[str, Sequence[str], None] = None |
| 22 | depends_on: Union[str, Sequence[str], None] = None |
| 23 | |
| 24 | |
| 25 | def upgrade() -> None: |
| 26 | op.add_column( |
| 27 | "musehub_intel_stable", |
| 28 | sa.Column("symbol_kind", sa.String(64), nullable=True), |
| 29 | ) |
| 30 | |
| 31 | |
| 32 | def downgrade() -> None: |
| 33 | op.drop_column("musehub_intel_stable", "symbol_kind") |
File History
3 commits
sha256:8e05daa29ba6702b4a2380a16d690ba31cc099d69c5c859bc6e6f16a0e945f99
Merge 'fix/deploy-memory-limits-and-log-group' into 'dev' —…
Human
7 days ago
sha256:3fadb0439bba9451b89229676971c0d4a40900dec7810e9d5f8791b8d950d505
fix: install.sh version from latest published tarball, not …
Sonnet 4.6
minor
⚠
98 days ago
sha256:763eb2cb8675073b84c19345b27586d2ed939a9aee97c5479b69f502f1a70eff
fix(tests): update test suite to match current implementation
Sonnet 4.6
patch
120 days ago