Skip to content

Commit

Permalink
fix: default allow_dynamics to false and set it to true for all exi…
Browse files Browse the repository at this point in the history
…stings orgs
  • Loading branch information
1 parent 17b69a9 commit 436dbce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/orgs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=True, help_text='Allow Dynamics')
allow_dynamics = models.BooleanField(default=False, help_text='Allow Dynamics')
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')

Expand Down
5 changes: 5 additions & 0 deletions scripts/sql/003-hide-bc-for-existing-orgs.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rollback;
begin;

update orgs
set allow_dynamics = true;

0 comments on commit 436dbce

Please sign in to comment.