Bumped version
This commit is contained in:
@@ -4,6 +4,12 @@ Changelog
|
||||
Here you can see the full list of changes between each SQLAlchemy-Utils release.
|
||||
|
||||
|
||||
0.14.4 (2013-07-03)
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
- Added TSVector type
|
||||
|
||||
|
||||
0.14.3 (2013-07-03)
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
2
setup.py
2
setup.py
@@ -24,7 +24,7 @@ class PyTest(Command):
|
||||
|
||||
setup(
|
||||
name='SQLAlchemy-Utils',
|
||||
version='0.14.3',
|
||||
version='0.14.4',
|
||||
url='https://github.com/kvesteri/sqlalchemy-utils',
|
||||
license='BSD',
|
||||
author='Konsta Vesterinen',
|
||||
|
@@ -17,10 +17,11 @@ from .types import (
|
||||
NumberRangeType,
|
||||
ScalarListType,
|
||||
ScalarListException,
|
||||
TSVectorType
|
||||
)
|
||||
|
||||
|
||||
__version__ = '0.14.3'
|
||||
__version__ = '0.14.4'
|
||||
|
||||
|
||||
__all__ = (
|
||||
@@ -46,4 +47,5 @@ __all__ = (
|
||||
ProxyDict,
|
||||
ScalarListType,
|
||||
ScalarListException,
|
||||
TSVectorType
|
||||
)
|
||||
|
@@ -164,6 +164,14 @@ class EmailType(sa.types.TypeDecorator):
|
||||
return value
|
||||
|
||||
|
||||
class TSVectorType(types.UserDefinedType):
|
||||
"""
|
||||
Text search vector type for postgresql.
|
||||
"""
|
||||
def get_col_spec(self):
|
||||
return 'tsvector'
|
||||
|
||||
|
||||
class NumberRangeRawType(types.UserDefinedType):
|
||||
"""
|
||||
Raw number range type, only supports PostgreSQL for now.
|
||||
|
Reference in New Issue
Block a user