<reponame>saycel/black-rock-forest<filename>alembic/versions/6f92e6466bf1_add_updated_at.py
"""add updated_at

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2019-07-06 12:26:12.610746

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "<KEY>"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column("debugcode", sa.Column("updated_at", sa.DateTime(), nullable=True))
    op.add_column("sensor", sa.Column("updated_at", sa.DateTime(), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("sensor", "updated_at")
    op.drop_column("debugcode", "updated_at")
    # ### end Alembic commands ###

"""add updated_at

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2019-07-06 12:26:12.610746

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "<KEY>"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column("debugcode", sa.Column("updated_at", sa.DateTime(), nullable=True))
    op.add_column("sensor", sa.Column("updated_at", sa.DateTime(), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("sensor", "updated_at")
    op.drop_column("debugcode", "updated_at")
    # ### end Alembic commands ###
add updated_at  Revision ID: <KEY> Revises: <KEY> Create Date: 2019-07-06 12:26:12.610746 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###