Skip to content

Commit

Permalink
Fix: Add missing migrations
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
  • Loading branch information
georgepadayatti committed Apr 5, 2024
1 parent c4dd901 commit b341108
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions data_disclosure_agreement/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Django 3.0.7 on 2024-04-05 15:38

from django.db import migrations, models
import django.db.models.deletion
import jsonfield.fields
import uuid


class Migration(migrations.Migration):

initial = True

dependencies = [
('config', '0005_auto_20240405_0607'),
]

operations = [
migrations.CreateModel(
name='DataDisclosureAgreement',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('version', models.CharField(max_length=255)),
('templateId', models.CharField(max_length=255)),
('status', models.CharField(choices=[('listed', 'listed'), ('unlisted', 'unlisted'), ('awaitingForApproval', 'awaitingForApproval'), ('approved', 'approved'), ('rejected', 'rejected')], default='unlisted', max_length=255)),
('dataDisclosureAgreementRecord', jsonfield.fields.JSONField(default=dict)),
('createdAt', models.DateTimeField(auto_now_add=True)),
('isLatestVersion', models.BooleanField(default=True)),
('dataSourceId', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='config.DataSource')),
],
),
]

0 comments on commit b341108

Please sign in to comment.