summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2008-07-22 13:32:01 (GMT)
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2008-07-22 15:54:51 (GMT)
commit29f9074893bb848f26c9c48a20fceb0d65be7897 (patch)
tree445907af2c3a964eb72b7c781c442a9a394c2371
parentc9dc187a8a5739409bc64587a0fdfccc209e3e3a (diff)
downloadfas-29f9074893bb848f26c9c48a20fceb0d65be7897.zip
fas-29f9074893bb848f26c9c48a20fceb0d65be7897.tar.gz
fas-29f9074893bb848f26c9c48a20fceb0d65be7897.tar.xz
Revert "Text => UnicodeText"
Never never never ever edit a file once in it's in the DB repo on basis of 'substance'. If a change to the DB is correct, please issue a new update to the repo. This will be more obvious in the next patch. This reverts commit d287e08e928beb7ecf01aa9210f35a660a32f675.
-rw-r--r--database/versions/1/1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/database/versions/1/1.py b/database/versions/1/1.py
index 4b1eacd..2f1bb8e 100644
--- a/database/versions/1/1.py
+++ b/database/versions/1/1.py
@@ -1,12 +1,12 @@
#
-from sqlalchemy import Table, Column, MetaData, UnicodeText
+from sqlalchemy import Table, Column, MetaData, Text
from migrate import migrate_engine
from migrate.changeset import create_column, drop_column
metadata = MetaData(migrate_engine)
GroupsTable = Table('groups', metadata, autoload=True)
-col = Column('apply_rules', UnicodeText)
+col = Column("apply_rules", Text)
def upgrade():
create_column(col, GroupsTable)