diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2012-05-14 22:47:57 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2012-05-14 22:47:57 -0700 |
commit | 71cc6fcf10b430cecd9f209a07a734bcce611e40 (patch) | |
tree | 3d075c60687a42a3e8ef22591f99b5e97f000a7f | |
parent | 3ad635377c544f7371647690f467f3be03b48047 (diff) | |
download | kittystore-71cc6fcf10b430cecd9f209a07a734bcce611e40.tar.gz kittystore-71cc6fcf10b430cecd9f209a07a734bcce611e40.tar.xz kittystore-71cc6fcf10b430cecd9f209a07a734bcce611e40.zip |
Change "full" field to LargeBinary as it's an exact copy of the message
-rw-r--r-- | kittystore/kittysamodel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kittystore/kittysamodel.py b/kittystore/kittysamodel.py index 1e86905..dca2e66 100644 --- a/kittystore/kittysamodel.py +++ b/kittystore/kittysamodel.py @@ -20,6 +20,7 @@ from sqlalchemy import ( Column, Integer, DateTime, + LargeBinary, String, Text, ) @@ -50,7 +51,7 @@ def get_table(table, metadata, create=False): nullable=False), Column('thread_id', String(150), nullable=False, index=True), Column('references', Text), - Column('full', Text), useexisting=True) + Column('full', LargeBinary), useexisting=True) if create: metadata.create_all() return table |