<commit_before>"""create ordering column

Revision ID: 264049f80948
Revises: <PASSWORD>
Create Date: 2012-02-13 20:32:34.542829

"""

# revision identifiers, used by Alembic.
revision = '264049f80948'
down_revision = '<PASSWORD>'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('resources', sa.Column('ordering', sa.Integer, nullable=False, default=0))

def downgrade():
    op.drop_column('resources', 'ordering')<commit_msg>use server_default instead of default<commit_after>"""create ordering column

Revision ID: 264049f80948
Revises: <PASSWORD>
Create Date: 2012-02-13 20:32:34.542829

"""

# revision identifiers, used by Alembic.
revision = '264049f80948'
down_revision = '<PASSWORD>'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('resources', sa.Column('ordering', sa.Integer, server_default='0', nullable=False))

def downgrade():
    op.drop_column('resources', 'ordering')
{'fraction_non_alphanumeric': 0.13011542497376705, 'fraction_numerical': 0.09024134312696747, 'mean_word_length': 6.066666666666666, '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': '6076994', 'n_tokens_mistral': 379, 'n_tokens_neox': 316, 'n_words': 83}