mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Updated to retrieve csv upload from new bucket.
Fix test errors.
This commit is contained in:
28
migrations/versions/0046_remove_bucketname.py
Normal file
28
migrations/versions/0046_remove_bucketname.py
Normal file
@@ -0,0 +1,28 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 0046_remove_bucketname
|
||||
Revises: 0045_template_stats_update_time
|
||||
Create Date: 2016-04-07 12:23:55.050714
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0046_remove_bucketname'
|
||||
down_revision = '0045_template_stats_update_time'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('jobs', 'file_name')
|
||||
op.drop_column('jobs', 'bucket_name')
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('jobs', sa.Column('bucket_name', sa.VARCHAR(), autoincrement=False, nullable=False))
|
||||
op.add_column('jobs', sa.Column('file_name', sa.VARCHAR(), autoincrement=False, nullable=False))
|
||||
### end Alembic commands ###
|
||||
Reference in New Issue
Block a user