<commit_before>"""empty message

Revision ID: 1f9c61031fa
Revises: <KEY>
Create Date: 2016-01-24 17:46:54.879784

"""

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

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('setting', sa.Column('key', sa.String(length=100)))
    op.drop_column('setting', 'id')
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('setting', sa.Column('id', sa.INTEGER(), nullable=False))
    op.drop_column('setting', 'key')
    ### end Alembic commands ###<commit_msg>Fix NOT NULL constraint on Setting name not being removed<commit_after>"""empty message

Revision ID: 1f9c61031fa
Revises: <PASSWORD>2d<PASSWORD>
Create Date: 2016-01-24 17:46:54.879784

"""

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

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('setting', sa.Column('key', sa.String(length=100)))
    op.alter_column('setting', 'name',
        existing_type=sa.VARCHAR(length=100),
        nullable=True) 
    op.drop_column('setting', 'id')
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('setting', sa.Column('id', sa.INTEGER(), nullable=False))
    op.alter_column('setting', 'name',
        existing_type=sa.VARCHAR(length=100),
        nullable=False)   
    op.drop_column('setting', 'key')
    ### end Alembic commands ###
{'fraction_non_alphanumeric': 0.15492957746478872, 'fraction_numerical': 0.03931924882629108, 'mean_word_length': 4.230061349693251, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '2997280', 'n_tokens_mistral': 599, 'n_tokens_neox': 553, 'n_words': 143}