-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
189 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""empty message | ||
Revision ID: 894fe4847de6 | ||
Revises: 3d7b4953b1ee | ||
Create Date: 2024-05-24 09:34:10.209903 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '894fe4847de6' | ||
down_revision = '3d7b4953b1ee' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('registrations', schema=None) as batch_op: | ||
batch_op.add_column(sa.Column('sbc_account_id', sa.INTEGER(), autoincrement=False, nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('registrations', schema=None) as batch_op: | ||
batch_op.drop_column('sbc_account_id') | ||
# ### end Alembic commands ### |
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
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
File renamed without changes.
73 changes: 73 additions & 0 deletions
73
strr-api/tests/mocks/json/registration_use_sbc_account.json
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,73 @@ | ||
{ | ||
"selectedAccount": { | ||
"sbc_account_id": 3299 | ||
}, | ||
"registration": { | ||
"primaryContact": { | ||
"name": { | ||
"firstName": "The", | ||
"middleName": "First", | ||
"lastName": "Guy" | ||
}, | ||
"dateOfBirth": "1986-10-23", | ||
"details": { | ||
"preferredName": "Mickey", | ||
"phoneNumber": "604-999-9999", | ||
"extension": "x64", | ||
"faxNumber": "604-777-7777", | ||
"emailAddress": "[email protected]" | ||
}, | ||
"mailingAddress": { | ||
"country": "CA", | ||
"address": "12766 227st", | ||
"addressLineTwo": "", | ||
"city": "MAPLE RIDGE", | ||
"province": "BC", | ||
"postalCode": "V2X 6K6" | ||
} | ||
}, | ||
"secondaryContact": { | ||
"name": { | ||
"firstName": "The", | ||
"middleName": "Other", | ||
"lastName": "Guy" | ||
}, | ||
"dateOfBirth": "1986-10-23", | ||
"details": { | ||
"preferredName": "Mouse", | ||
"phoneNumber": "604-888-8888", | ||
"extension": "", | ||
"faxNumber": "", | ||
"emailAddress": "[email protected]" | ||
}, | ||
"mailingAddress": { | ||
"country": "CA", | ||
"address": "12766 227st", | ||
"addressLineTwo": "", | ||
"city": "MAPLE RIDGE", | ||
"province": "BC", | ||
"postalCode": "V2X 6K6" | ||
} | ||
}, | ||
"unitDetails": { | ||
"parcelIdentifier": "000-460-991", | ||
"businessLicense": "", | ||
"propertyType": "PRIMARY", | ||
"ownershipType": "OWN" | ||
}, | ||
"unitAddress": { | ||
"nickname": "My Rental Property", | ||
"country": "CA", | ||
"address": "12166 GREENWELL ST MAPLE RIDGE", | ||
"addressLineTwo": "", | ||
"city": "MAPLE RIDGE", | ||
"province": "BC", | ||
"postalCode": "V2X 7N1" | ||
}, | ||
"listingDetails": [ | ||
{ | ||
"url": "https://www.airbnb.ca/rooms/26359027" | ||
} | ||
] | ||
} | ||
} |
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
Oops, something went wrong.