Add created_at and updated_at columns to ft_processing_time

This commit is contained in:
Rebecca Law
2021-02-23 14:24:46 +00:00
parent 21edf7bfdd
commit 0849070eca
4 changed files with 16 additions and 3 deletions

View File

@@ -18,6 +18,8 @@ def upgrade():
sa.Column('bst_date', sa.Date(), nullable=False),
sa.Column('messages_total', sa.Integer(), nullable=False),
sa.Column('messages_within_10_secs', sa.Integer(), nullable=False),
sa.Column('created_at', sa.DateTime(), nullable=False),
sa.Column('updated_at', sa.DateTime(), nullable=True),
sa.PrimaryKeyConstraint('bst_date')
)
op.create_index(op.f('ix_ft_processing_time_bst_date'), 'ft_processing_time', ['bst_date'], unique=False)