# Adding field 'Staff.json_permissions'
db.add_column(u'store_staff', 'json_permissions',
self.gf('django_pgjson.fields.JsonField')(default={}, null=False, blank=False),
keep_default=False)
when run, creates this, SQL:
ALTER TABLE "store_staff" ADD COLUMN "json_permissions" json NOT NULL DEFAULT <django_pgjson.fields.JsonAdapter object at 0x10e7db0d0>;
Clearly there's something up with the registration of postgres json adapter. The test suite (with the exception of the jsonb tests) run correctly against the same DB. My only thought so far is that it's something to do with South's db backend.
Postgres 9.3 Django 1.6.10
Django model field:
South migration of:
when run, creates this, SQL:
Clearly there's something up with the registration of postgres json adapter. The test suite (with the exception of the jsonb tests) run correctly against the same DB. My only thought so far is that it's something to do with South's db backend.