<commit_before>"""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! ###<commit_msg>Updates the migration to include a truncate command.<commit_after>"""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():
    op.execute('TRUNCATE signature_summary_device, signature_summary_graphics CASCADE')
    ### commands auto generated by Alembic - please adjust! ###
{'fraction_non_alphanumeric': 0.07244212098581031, 'fraction_numerical': 0.07766990291262135, 'mean_word_length': 5.568627450980392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6955838', 'n_tokens_mistral': 520, 'n_tokens_neox': 423, 'n_words': 137}