Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: simple JSON test #38

Closed
wants to merge 1 commit into from

Conversation

jirikuncar
Copy link
Member

Signed-off-by: Jiri Kuncar jiri.kuncar@cern.ch

* Adds test for JSON/JSONB fields.  (closes inveniosoftware#19)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
@tiborsimko
Copy link
Member

Please see a couple of Travis CI issues with development dependencies:

> raise exc.UnsupportedCompilationError(visitor, cls)

E CompileError: (in table 'test_json', column 'js'): Compiler
  <sqlalchemy.dialects.sqlite.base.SQLiteTypeCompiler object at 0x7f6f82efee50>
  can't render element of type <class 'sqlalchemy.sql.sqltypes.JSON'>

@jirikuncar
Copy link
Member Author

We might still need to fallback to SQLAlchemy-Utils. 😞

@jirikuncar jirikuncar modified the milestones: someday, v1.0.0 Aug 2, 2016
@jirikuncar
Copy link
Member Author

We need to wait for SQLAlchemy 1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

types: possible to support both JSON/JSONB
3 participants