* Add amo_id which will allow syncing with AMO Addons
This commit is contained in:
Piotr Zalewa 2011-07-29 10:08:35 +01:00
Родитель 9b8aab5a10
Коммит bf7acfda58
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1278,6 +1278,9 @@ class Package(BaseModel):
#: to have this relied on any database model #: to have this relied on any database model
id_number = models.CharField(max_length=255, unique=True, blank=True) 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 #: name of the Package
full_name = models.CharField(max_length=255, blank=True) full_name = models.CharField(max_length=255, blank=True)
#: made from the full_name, used to create Package directory for export #: made from the full_name, used to create Package directory for export

Просмотреть файл

@ -0,0 +1 @@
ALTER TABLE `jetpack_package` ADD `amo_id` INTEGER DEFAULT NULL;