"""empty message

Revision ID: 6621b0459417
Revises: 3eaa1f523b4c
Create Date: 2019-11-21 16:53:29.397926

"""
import sqlalchemy as sa
from alembic import op

import maps_adv

# revision identifiers, used by Alembic.
revision = "6621b0459417"
down_revision = "3eaa1f523b4c"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "clients",
        sa.Column(
            "created_at",
            maps_adv.manul.lib.db.columns.DateTimeTZ(),
            server_default=sa.text("now()"),
            nullable=False,
        ),
    )
    # ### end Alembic commands ###


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