-
Notifications
You must be signed in to change notification settings - Fork 10
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 #5910 from uktrade/bugfix/TET-832-wrong-data-type
Make modified_by and created_by fields CharField instead of Integer to match prod Stova data
- Loading branch information
Showing
4 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
datahub/company_activity/migrations/0024_stova_event_integer_to_charfield.py
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,23 @@ | ||
# Generated by Django 4.2.17 on 2025-01-21 10:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('company_activity', '0023_link_stova_attendee_to_event'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='stovaevent', | ||
name='created_by', | ||
field=models.CharField(blank=True, default='', max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name='stovaevent', | ||
name='modified_by', | ||
field=models.CharField(blank=True, default='', max_length=255), | ||
), | ||
] |
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 |
---|---|---|
|
@@ -75,11 +75,11 @@ def test_base_stova_event(): | |
'folder_id': 3479, | ||
'live_date': '2024-10-08 10:48:36.204549+00:00', | ||
'close_date': '2024-10-08 10:48:36.204570+00:00', | ||
'created_by': 5808, | ||
'created_by': '[email protected]', | ||
'price_type': 'net', | ||
'start_date': '2024-10-08 10:48:36.204592+00:00', | ||
'description': 'star', | ||
'modified_by': 9588, | ||
'modified_by': '[email protected]', | ||
'contact_info': '[email protected]', | ||
'created_date': '2024-10-08 10:48:36.204839+00:00', | ||
'location_city': 'Port Laurenside', | ||
|