Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #1616 from brandonsavage/revertproduct"
This reverts commit 38adc1b, reversing changes made to 7cf4b11. It readds fix for bug 923807 back into master.
- Loading branch information
1 parent
c9a8cb3
commit 0fff291
Showing
5 changed files
with
102 additions
and
8 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,44 @@ | ||
"""Making reports honor product and version. | ||
Revision ID: 191d0453cc07 | ||
Revises: 523b9e57eba2 | ||
Create Date: 2013-10-08 08:00:57.230411 | ||
""" | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '191d0453cc07' | ||
down_revision = '523b9e57eba2' | ||
|
||
from alembic import op | ||
from socorro.lib import citexttype, jsontype | ||
from socorro.lib.migrations import load_stored_proc | ||
|
||
import sqlalchemy as sa | ||
from sqlalchemy import types | ||
from sqlalchemy.dialects import postgresql | ||
from sqlalchemy.sql import table, column | ||
|
||
|
||
|
||
|
||
def upgrade(): | ||
### commands auto generated by Alembic - please adjust! ### | ||
op.add_column(u'signature_summary_device', sa.Column(u'version_string', sa.TEXT(), nullable=True)) | ||
op.add_column(u'signature_summary_device', sa.Column(u'product_name', sa.TEXT(), nullable=True)) | ||
op.add_column(u'signature_summary_device', sa.Column(u'product_version_id', sa.INTEGER(), nullable=False)) | ||
op.add_column(u'signature_summary_graphics', sa.Column(u'version_string', sa.TEXT(), nullable=True)) | ||
op.add_column(u'signature_summary_graphics', sa.Column(u'product_name', sa.TEXT(), nullable=True)) | ||
op.add_column(u'signature_summary_graphics', sa.Column(u'product_version_id', sa.INTEGER(), nullable=False)) | ||
### end Alembic commands ### | ||
load_stored_proc(op, ['update_signature_summary.sql',]) | ||
|
||
def downgrade(): | ||
### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column(u'signature_summary_graphics', u'product_version_id') | ||
op.drop_column(u'signature_summary_graphics', u'product_name') | ||
op.drop_column(u'signature_summary_graphics', u'version_string') | ||
op.drop_column(u'signature_summary_device', u'product_version_id') | ||
op.drop_column(u'signature_summary_device', u'product_name') | ||
op.drop_column(u'signature_summary_device', u'version_string') | ||
### end Alembic commands ### |
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
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
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
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