contrib/ast-db-manage/config/versions/45e3f47c6c44_add_pjsip_endpoint_identifier_order.py
raw symbols SCIP| 1 | """add pjsip endpoint_identifier_order |
| 2 | |
| 3 | Revision ID: 45e3f47c6c44 |
| 4 | Revises: 945b1098bdd |
| 5 | Create Date: 2015-03-02 09:32:20.632015 |
| 6 | |
| 7 | """ |
| 8 | |
| 9 | # revision identifiers, used by Alembic. |
| 10 | revision = '45e3f47c6c44' |
| 11 | down_revision = '945b1098bdd' |
| 12 | |
| 13 | from alembic import op |
| 14 | import sqlalchemy as sa |
| 15 | |
| 16 | |
| 17 | def upgrade(): |
| 18 | op.add_column('ps_globals', sa.Column('endpoint_identifier_order', sa.String(40))) |
| 19 | |
| 20 | def downgrade(): |
| 21 | op.drop_column('ps_globals', 'endpoint_identifier_order') |