|
| 1 | +# Generated by Django 4.2.22 on 2025-12-29 16:08 |
| 2 | + |
| 3 | +from django.db import migrations, models |
| 4 | + |
| 5 | + |
| 6 | +class Migration(migrations.Migration): |
| 7 | + |
| 8 | + dependencies = [ |
| 9 | + ('accounts', '0015_account_platform_version_and_more'), |
| 10 | + ] |
| 11 | + |
| 12 | + operations = [ |
| 13 | + migrations.AddField( |
| 14 | + model_name='accounttype', |
| 15 | + name='actual_at', |
| 16 | + field=models.DateTimeField(help_text='Show the Date that object is truth for, e.g. price created_at is 2024-07-10 but actually this price is 2024-01-01', null=True), |
| 17 | + ), |
| 18 | + migrations.AddField( |
| 19 | + model_name='accounttype', |
| 20 | + name='attributes_extra', |
| 21 | + field=models.JSONField(blank=True, default=dict, help_text='json-like field for different key-value pairs', verbose_name='attributes_extra'), |
| 22 | + ), |
| 23 | + migrations.AddField( |
| 24 | + model_name='accounttype', |
| 25 | + name='credential_user_code', |
| 26 | + field=models.CharField(blank=True, help_text="Finmars Vault credential's user code used to access provider's data", max_length=1024, null=True, verbose_name='credential user code'), |
| 27 | + ), |
| 28 | + migrations.AddField( |
| 29 | + model_name='accounttype', |
| 30 | + name='credential_version_integer', |
| 31 | + field=models.PositiveIntegerField(default=1, help_text="Finmars Vault credential's version", verbose_name='credential integer version'), |
| 32 | + ), |
| 33 | + migrations.AddField( |
| 34 | + model_name='accounttype', |
| 35 | + name='is_active', |
| 36 | + field=models.BooleanField(default=True), |
| 37 | + ), |
| 38 | + migrations.AddField( |
| 39 | + model_name='accounttype', |
| 40 | + name='is_locked', |
| 41 | + field=models.BooleanField(default=True, help_text='blocked to any change (only from finmars frontend change is allowed)'), |
| 42 | + ), |
| 43 | + migrations.AddField( |
| 44 | + model_name='accounttype', |
| 45 | + name='is_manual_locked', |
| 46 | + field=models.BooleanField(default=False, help_text='just a flag to disable form on frontend'), |
| 47 | + ), |
| 48 | + migrations.AddField( |
| 49 | + model_name='accounttype', |
| 50 | + name='origin_initiator_code', |
| 51 | + field=models.CharField(blank=True, help_text='user login (who is responsible for manual/scheduler/api call): john_doe', max_length=1024, null=True, verbose_name='origin_initiator_code'), |
| 52 | + ), |
| 53 | + migrations.AddField( |
| 54 | + model_name='accounttype', |
| 55 | + name='origin_initiator_third_party_push_code', |
| 56 | + field=models.CharField(blank=True, help_text='specification for third_party_push', max_length=1024, null=True, verbose_name='origin_initiator_third_party_push_code'), |
| 57 | + ), |
| 58 | + migrations.AddField( |
| 59 | + model_name='accounttype', |
| 60 | + name='origin_initiator_type', |
| 61 | + field=models.CharField(blank=True, help_text='how action was initiated: manual, scheduler, third_party_push', max_length=1024, null=True), |
| 62 | + ), |
| 63 | + migrations.AddField( |
| 64 | + model_name='accounttype', |
| 65 | + name='origin_manual_entry_point', |
| 66 | + field=models.CharField(blank=True, help_text='exact_webpage_address (for manual only, including addons address', max_length=1024, null=True), |
| 67 | + ), |
| 68 | + migrations.AddField( |
| 69 | + model_name='accounttype', |
| 70 | + name='platform_task_id', |
| 71 | + field=models.CharField(blank=True, help_text='platform task id', max_length=1024, null=True, verbose_name='platform_task_id'), |
| 72 | + ), |
| 73 | + migrations.AddField( |
| 74 | + model_name='accounttype', |
| 75 | + name='provider_user_code', |
| 76 | + field=models.CharField(blank=True, help_text='Unique Identifier for this object in Provider Database', max_length=1024, null=True, verbose_name='provider user code'), |
| 77 | + ), |
| 78 | + migrations.AddField( |
| 79 | + model_name='accounttype', |
| 80 | + name='reference_ids', |
| 81 | + field=models.JSONField(blank=True, default=dict, help_text='json-like field for different key-value pairs identifying entity in different sources, e.g. instrument ids by standards (ISIN: xxx, FIGI: yyy) and by provider/source (bank1_id: xxx, provider1_id: yyy) can be used simultaneously', verbose_name='reference_ids'), |
| 82 | + ), |
| 83 | + migrations.AddField( |
| 84 | + model_name='accounttype', |
| 85 | + name='source_user_code', |
| 86 | + field=models.CharField(blank=True, help_text='provider can have several sources available, e.g. Provider data_aggregator may have sources: bank1 and bank2', max_length=1024, null=True, verbose_name='source user code'), |
| 87 | + ), |
| 88 | + migrations.AddField( |
| 89 | + model_name='accounttype', |
| 90 | + name='source_version_calendar', |
| 91 | + field=models.CharField(blank=True, help_text='Calendar Version https://calver.org/', max_length=255, null=True, verbose_name='source calendar version'), |
| 92 | + ), |
| 93 | + migrations.AddField( |
| 94 | + model_name='accounttype', |
| 95 | + name='source_version_semantic', |
| 96 | + field=models.CharField(blank=True, help_text='Semantic Version https://semver.org/', max_length=255, null=True, verbose_name='source semantic version'), |
| 97 | + ), |
| 98 | + migrations.AddField( |
| 99 | + model_name='accounttype', |
| 100 | + name='workflow_id', |
| 101 | + field=models.CharField(blank=True, help_text='id or uuid', max_length=1024, null=True, verbose_name='workflow_id'), |
| 102 | + ), |
| 103 | + migrations.AddField( |
| 104 | + model_name='accounttype', |
| 105 | + name='workflow_module_user_code', |
| 106 | + field=models.CharField(blank=True, help_text='workflow used for the data', max_length=1024, null=True, verbose_name='workflow_module_user_code'), |
| 107 | + ), |
| 108 | + migrations.AddField( |
| 109 | + model_name='accounttype', |
| 110 | + name='workflow_module_version_semantic', |
| 111 | + field=models.CharField(blank=True, help_text='Semantic Version https://semver.org/', max_length=255, null=True, verbose_name='workflow module semantic version'), |
| 112 | + ), |
| 113 | + ] |
0 commit comments