diff --git a/apps/jetpack/models.py b/apps/jetpack/models.py index 8c86a511..56986de8 100644 --- a/apps/jetpack/models.py +++ b/apps/jetpack/models.py @@ -1278,6 +1278,9 @@ class Package(BaseModel): #: to have this relied on any database model id_number = models.CharField(max_length=255, unique=True, blank=True) + #: identification in AMO + amo_id = models.IntegerField(blank=True, null=True) + #: name of the Package full_name = models.CharField(max_length=255, blank=True) #: made from the full_name, used to create Package directory for export diff --git a/migrations/012-add_package_identification_in_amo.sql b/migrations/012-add_package_identification_in_amo.sql new file mode 100644 index 00000000..5ee26771 --- /dev/null +++ b/migrations/012-add_package_identification_in_amo.sql @@ -0,0 +1 @@ +ALTER TABLE `jetpack_package` ADD `amo_id` INTEGER DEFAULT NULL;