forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 1140937 - Change missing symbols cron to include filename and cod…
…e_id (mozilla-services#3358) r=adngdb
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
"""extend missing symbols | ||
Revision ID: 89ef86a3d57a | ||
Revises: 02da1335e26e | ||
Create Date: 2016-05-26 13:17:17.145484 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '89ef86a3d57a' | ||
down_revision = '02da1335e26e' | ||
|
||
|
||
def upgrade(): | ||
op.add_column( | ||
'missing_symbols', | ||
sa.Column( | ||
'code_file', | ||
sa.TEXT(), | ||
nullable=True, | ||
) | ||
) | ||
op.add_column( | ||
'missing_symbols', | ||
sa.Column( | ||
'code_id', | ||
sa.TEXT(), | ||
nullable=True, | ||
) | ||
) | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('missing_symbols', 'code_file') | ||
op.drop_column('missing_symbols', 'code_id') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters