#135 avoid JSONB column type
Closed by ralph. Opened by dcallagh.
dcallagh/waiverdb issue-134  into  master

Download 135.patch

We want to stay compatible with Postgres 9.2 which lacks the JSONB
column type.

We can use the older JSON column type instead, but it needs some extra
massaging to allow equality comparisons across JSON values. (JSONB
handles this itself.)

The short version is: we compare JSON values as strings, which means we
also need to ensure the string serialization is always consistent when
we send it to the database. The sort_keys=True argument to JSONEncoder()
gives us that.

Fixes #134.

Closing in favor of #136.

Pull-Request has been closed by ralph

Build 9b6e24b6e42d1726784b1a1fe96b0ced8272e063 FAILED!
Rebase or make new commits to rebuild.

Metadata