<commit_before>"""mature and status columns for the repos table

Revision ID: 535f62f51e1
Revises: <PASSWORD>
Create Date: 2015-07-20 10:37:05.997716

"""

# revision identifiers, used by Alembic.
revision = '535f62f51e1'
down_revision = '4e0851c5<PASSWORD>'
branch_labels = None
depends_on = None

from alembic import op
from sqlalchemy.sql import expression
import sqlalchemy as sa


def upgrade():
    op.add_column(
        'repos',
        sa.Column('mature', sa.Boolean(), nullable=False, server_default=expression.false(),index=True)
    )
    op.add_column(
        'repos',
        sa.Column(
            'status', sa.Enum('promising', 'new', 'unknown', 'deleted', 'hopeless'),<commit_msg>identation typo<commit_after>"""mature and status columns for the repos table

Revision ID: 535f62f51e1
Revises: <PASSWORD>
Create Date: 2015-07-20 10:37:05.997716

"""

# revision identifiers, used by Alembic.
revision = '535f62f51e1'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None

from alembic import op
from sqlalchemy.sql import expression
import sqlalchemy as sa


def upgrade():
    op.add_column(
        'repos', sa.Column(
            'mature', sa.Boolean(), nullable=False, server_default=expression.false(), index=True
        )
    )
    op.add_column(
        'repos', sa.Column(
            'status', sa.Enum('promising', 'new', 'unknown', 'deleted', 'hopeless'),
{'fraction_non_alphanumeric': 0.12598425196850394, 'fraction_numerical': 0.05583392984967788, 'mean_word_length': 3.8710801393728222, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1115477', 'n_tokens_mistral': 526, 'n_tokens_neox': 466, 'n_words': 120}