"""Add create_date and update_date to all tables

Revision ID: 32390282bd93
Revises: 2d2525b773e
Create Date: 2014-03-17 15:59:26.962150

"""

# revision identifiers, used by Alembic.
revision = '32390282bd93'
down_revision = '2d2525b773e'

from alembic import op
import sqlalchemy as sa

import datetime


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        'club',
        sa.Column('create_date', sa.DateTime(), nullable=False,
                  server_default=datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))
    )
    op.add_column(
        'club',
        sa.Column('update_date', sa.DateTime(), nullable=False,
                  server_default=datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))
    )
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')
    ### end Alembic commands ###

2265716de3dbdf4ea4430f1ddd6d62de5168ad75
<mask token>


def downgrade():
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')

<mask token>


def upgrade():
    op.add_column('club', sa.Column('create_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))
    op.add_column('club', sa.Column('update_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))


def downgrade():
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')

<mask token>
revision = '32390282bd93'
down_revision = '2d2525b773e'
<mask token>


def upgrade():
    op.add_column('club', sa.Column('create_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))
    op.add_column('club', sa.Column('update_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))


def downgrade():
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')

<mask token>
revision = '32390282bd93'
down_revision = '2d2525b773e'
from alembic import op
import sqlalchemy as sa
import datetime


def upgrade():
    op.add_column('club', sa.Column('create_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))
    op.add_column('club', sa.Column('update_date', sa.DateTime(), nullable=
        False, server_default=datetime.datetime.utcnow().strftime(
        '%Y-%m-%d %H:%M:%S')))


def downgrade():
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')

"""Add create_date and update_date to all tables

Revision ID: 32390282bd93
Revises: 2d2525b773e
Create Date: 2014-03-17 15:59:26.962150

"""

# revision identifiers, used by Alembic.
revision = '32390282bd93'
down_revision = '2d2525b773e'

from alembic import op
import sqlalchemy as sa

import datetime


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        'club',
        sa.Column('create_date', sa.DateTime(), nullable=False,
                  server_default=datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))
    )
    op.add_column(
        'club',
        sa.Column('update_date', sa.DateTime(), nullable=False,
                  server_default=datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))
    )
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('club', 'update_date')
    op.drop_column('club', 'create_date')
    ### end Alembic commands ###
