Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
Revert "Revert "PostgreSQL 9.4: JSONB""
Browse files Browse the repository at this point in the history
This reverts commit 6784b9e.
  • Loading branch information
limeburst committed Mar 20, 2015
1 parent e6f7959 commit 4abf726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions favien/canvas.py
Expand Up @@ -9,7 +9,7 @@
from sqlalchemy.schema import Column, ForeignKey
from sqlalchemy.sql.functions import now
from sqlalchemy.types import Boolean, DateTime, Integer, UnicodeText
from sqlalchemy.dialects.postgres import JSON
from sqlalchemy.dialects.postgres import JSONB

from .orm import Base
from .user import User
Expand Down Expand Up @@ -40,7 +40,7 @@ class Canvas(Base):
description = Column(UnicodeText)

#: (:class:`sqlalchemy.dialects.postgres.JSON`) Canvas brush strokes.
strokes = deferred(Column(JSON))
strokes = deferred(Column(JSONB))

#: (:class:`sqlalchemy.types.Integer`) Canvas width in pixels.
width = Column(Integer, nullable=False)
Expand Down

0 comments on commit 4abf726

Please sign in to comment.