From a948e5526e8b1727c3da8e4f8e09b0aeab1f39ba Mon Sep 17 00:00:00 2001 From: Viswas Date: Tue, 17 Dec 2024 12:37:09 +0530 Subject: [PATCH] fix: allow dynamics by default --- .../0007_allow_dynamics_by_default.py | 18 ++++++++++++++++++ apps/orgs/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 apps/orgs/migrations/0007_allow_dynamics_by_default.py diff --git a/apps/orgs/migrations/0007_allow_dynamics_by_default.py b/apps/orgs/migrations/0007_allow_dynamics_by_default.py new file mode 100644 index 0000000..37d0b76 --- /dev/null +++ b/apps/orgs/migrations/0007_allow_dynamics_by_default.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.14 on 2024-12-17 07:05 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('orgs', '0006_org_allow_qbd_direct_integration'), + ] + + operations = [ + migrations.AlterField( + model_name='org', + name='allow_dynamics', + field=models.BooleanField(default=True, help_text='Allow Dynamics'), + ), + ] diff --git a/apps/orgs/models.py b/apps/orgs/models.py index 171b23a..3a3568d 100644 --- a/apps/orgs/models.py +++ b/apps/orgs/models.py @@ -20,7 +20,7 @@ class Org(models.Model): is_sendgrid_connected = models.BooleanField(null=True, help_text='Is Sendgrid Connected') allow_travelperk = models.BooleanField(default=True, help_text='Allow Travelperk') allow_gusto = models.BooleanField(default=False, help_text='Allow Gusto') - allow_dynamics = models.BooleanField(default=False, help_text='Allow Dynamics') + allow_dynamics = models.BooleanField(default=True, help_text='Allow Dynamics') allow_qbd_direct_integration = models.BooleanField(default=False, help_text='Allow QBD Direct Integration') created_at = models.DateTimeField(auto_now_add=True, help_text='Created at datetime') updated_at = models.DateTimeField(auto_now=True, help_text='Updated at datetime')