<reponame>robin-NEC/ckan
# encoding: utf-8

"""Add last_active column in user table

Revision ID: <KEY>
Revises: <PASSWORD>
Create Date: 2021-09-22 00:44:40.777435

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    op.add_column('user', sa.Column('last_active', sa.TIMESTAMP))


def downgrade():
    op.remove_column('user', sa.Column('last_active'))
