From c9aa6294c693df9fe36f63518520a5ca4f4eb827 Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Wed, 23 Oct 2013 11:59:44 -0700 Subject: [PATCH] add in a shared column (bug 925830) --- migrations/681-allow-shared.sql | 1 + mkt/developers/models.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 migrations/681-allow-shared.sql diff --git a/migrations/681-allow-shared.sql b/migrations/681-allow-shared.sql new file mode 100644 index 0000000000..fc7447b02b --- /dev/null +++ b/migrations/681-allow-shared.sql @@ -0,0 +1 @@ +ALTER TABLE payment_accounts ADD COLUMN shared bool NOT NULL; diff --git a/mkt/developers/models.py b/mkt/developers/models.py index a1f8fdd357..395b80d5d9 100644 --- a/mkt/developers/models.py +++ b/mkt/developers/models.py @@ -61,6 +61,8 @@ class PaymentAccount(amo.models.ModelBase): inactive = models.BooleanField(default=False) bango_package_id = models.IntegerField(blank=True, null=True) + shared = models.BooleanField(default=False) + BANGO_PACKAGE_VALUES = ( 'adminEmailAddress', 'supportEmailAddress', 'financeEmailAddress', 'paypalEmailAddress', 'vendorName', 'companyName', 'address1',