<commit_before>"""create object_properties table

Revision ID: 3bea0b3cb116
Revises: <KEY>
Create Date: 2015-05-05 12:24:38.022248

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'

from alembic import op
import sqlalchemy as sa
import geoalchemy2 as ga


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_table('object_properties',
    sa.Column('object_id', sa.BIGINT(), nullable=False),
    sa.Column('object_type', sa.TEXT(), nullable=False),
    sa.Column('property_name', sa.TEXT(), nullable=False),
    sa.Column('property_value', sa.TEXT(), nullable=False),
    schema='navitia'
    )
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('object_properties', schema='navitia')
    ### end Alembic commands ###<commit_msg>Remove alembic autogenerated comments<commit_after>"""create object_properties table

Revision ID: 3bea0b3cb116
Revises: 29fc422c56cb
Create Date: 2015-05-05 12:24:38.022248

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'

from alembic import op
import sqlalchemy as sa
import geoalchemy2 as ga


def upgrade():
    op.create_table('object_properties',
    sa.Column('object_id', sa.BIGINT(), nullable=False),
    sa.Column('object_type', sa.TEXT(), nullable=False),
    sa.Column('property_name', sa.TEXT(), nullable=False),
    sa.Column('property_value', sa.TEXT(), nullable=False),
    schema='navitia'
    )


def downgrade():
    op.drop_table('object_properties', schema='navitia')
{'fraction_non_alphanumeric': 0.14417744916820702, 'fraction_numerical': 0.03758471965495995, 'mean_word_length': 4.927007299270073, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7489752', 'n_tokens_mistral': 583, 'n_tokens_neox': 532, 'n_words': 129}