diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/migrations/0011_usercode_midata_code.py | 18 | ||||
-rw-r--r-- | client/models.py | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/client/migrations/0011_usercode_midata_code.py b/client/migrations/0011_usercode_midata_code.py new file mode 100644 index 0000000..a5f3601 --- /dev/null +++ b/client/migrations/0011_usercode_midata_code.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.4 on 2022-01-04 11:10 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('client', '0010_auto_20220102_1933'), + ] + + operations = [ + migrations.AddField( + model_name='usercode', + name='midata_code', + field=models.CharField(default='', max_length=1024), + ), + ] diff --git a/client/models.py b/client/models.py index b94806b..5f0da0d 100644 --- a/client/models.py +++ b/client/models.py @@ -115,6 +115,7 @@ class UserCode(models.Model): avs_number = models.CharField(default="", max_length=250)
midata_id = models.IntegerField(default=0)
midata_token = models.CharField(default="", max_length=1024)
+ midata_code = models.CharField(default="", max_length=1024)
class GroupSettings(models.Model):
group = models.ForeignKey(Group, default=None, on_delete=models.CASCADE)
|