mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-06 06:48:24 -04:00
reformat
This commit is contained in:
@@ -9,14 +9,15 @@ from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
revision = '0158_remove_rate_limit_default'
|
||||
down_revision = '0157_add_rate_limit_to_service'
|
||||
revision = "0158_remove_rate_limit_default"
|
||||
down_revision = "0157_add_rate_limit_to_service"
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.execute("ALTER TABLE services ALTER rate_limit DROP DEFAULT")
|
||||
op.execute("ALTER TABLE services_history ALTER rate_limit DROP DEFAULT")
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.execute("ALTER TABLE services ALTER rate_limit SET DEFAULT '3000'")
|
||||
op.execute("ALTER TABLE services_history ALTER rate_limit SET DEFAULT '3000'")
|
||||
|
||||
Reference in New Issue
Block a user