Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
2cdbd4d7
Commit
2cdbd4d7
authored
9 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "pjsip/alembic: Fix qualify_timeout column definition"
parents
96763f48
c60d6c01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/ast-db-manage/config/versions/3d00be6d0c1f_fix_pjsip_qualify_ti.py
+27
-0
27 additions, 0 deletions
...nage/config/versions/3d00be6d0c1f_fix_pjsip_qualify_ti.py
with
27 additions
and
0 deletions
contrib/ast-db-manage/config/versions/3d00be6d0c1f_fix_pjsip_qualify_ti.py
0 → 100644
+
27
−
0
View file @
2cdbd4d7
"""
fix pjsip qualify timeout
Revision ID: 3d00be6d0c1f
Revises: 26d7f3bf0fa5
Create Date: 2016-01-16 19:48:31.730429
"""
# revision identifiers, used by Alembic.
revision
=
'
3d00be6d0c1f
'
down_revision
=
'
26d7f3bf0fa5
'
from
alembic
import
op
import
sqlalchemy
as
sa
def
upgrade
():
op
.
alter_column
(
'
ps_aors
'
,
'
qualify_timeout
'
,
type_
=
sa
.
Decimal
)
op
.
alter_column
(
'
ps_contacts
'
,
'
qualify_timeout
'
,
type_
=
sa
.
Decimal
)
pass
def
downgrade
():
op
.
alter_column
(
'
ps_aors
'
,
'
qualify_timeout
'
,
type_
=
sa
.
Integer
)
op
.
alter_column
(
'
ps_contacts
'
,
'
qualify_timeout
'
,
type_
=
sa
.
Integer
)
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment