-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from bcgov/development
Merge from development to master
- Loading branch information
Showing
52 changed files
with
698 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ requests | |
zeep | ||
python-ldap | ||
sentry-sdk[flask] | ||
attrs<=19.1.0 | ||
attrs<=19.1.0 | ||
Werkzeug==0.16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"title": "Payment Request", | ||
"required": [ | ||
"userId", | ||
"feeCode", | ||
"invoiceNumber", | ||
"folioNumber" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
"""bcol_changes | ||
Revision ID: 41bf37772240 | ||
Revises: 78951cf14ae9 | ||
Create Date: 2020-01-29 16:15:07.585449 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '41bf37772240' | ||
down_revision = '78951cf14ae9' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('payment_account', sa.Column('auth_account_id', sa.String(length=50), nullable=True)) | ||
op.add_column('payment_account', sa.Column('bcol_account_id', sa.String(length=50), nullable=True)) | ||
op.add_column('payment_account', sa.Column('bcol_user_id', sa.String(length=50), nullable=True)) | ||
op.alter_column('payment_account', 'corp_number', | ||
existing_type=sa.VARCHAR(length=20), | ||
nullable=True) | ||
op.alter_column('payment_account', 'corp_type_code', | ||
existing_type=sa.VARCHAR(length=10), | ||
nullable=True) | ||
op.create_index(op.f('ix_payment_account_auth_account_id'), 'payment_account', ['auth_account_id'], unique=False) | ||
op.create_index(op.f('ix_payment_account_bcol_account_id'), 'payment_account', ['bcol_account_id'], unique=False) | ||
op.create_index(op.f('ix_payment_account_bcol_user_id'), 'payment_account', ['bcol_user_id'], unique=False) | ||
op.drop_index('ix_payment_account_user_id', table_name='payment_account') | ||
op.drop_column('payment_account', 'user_id') | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('payment_account', sa.Column('user_id', sa.VARCHAR(length=50), autoincrement=False, nullable=True)) | ||
op.create_index('ix_payment_account_user_id', 'payment_account', ['user_id'], unique=False) | ||
op.drop_index(op.f('ix_payment_account_bcol_user_id'), table_name='payment_account') | ||
op.drop_index(op.f('ix_payment_account_bcol_account_id'), table_name='payment_account') | ||
op.drop_index(op.f('ix_payment_account_auth_account_id'), table_name='payment_account') | ||
op.alter_column('payment_account', 'corp_type_code', | ||
existing_type=sa.VARCHAR(length=10), | ||
nullable=False) | ||
op.alter_column('payment_account', 'corp_number', | ||
existing_type=sa.VARCHAR(length=20), | ||
nullable=False) | ||
op.drop_column('payment_account', 'bcol_user_id') | ||
op.drop_column('payment_account', 'bcol_account_id') | ||
op.drop_column('payment_account', 'auth_account_id') | ||
# ### end Alembic commands ### |
Oops, something went wrong.