summaryrefslogtreecommitdiffstats
path: root/kittystore/storm/schema/patch_6.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-04 12:08:26 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-04 12:13:49 +0100
commit29f188a48d909badf29cbda3b65f751434bde002 (patch)
tree300144dad33c5d899989c220eea5067d5dcf74ae /kittystore/storm/schema/patch_6.py
parent416b12c0380b819266b19fd37e864fe1e43af9fc (diff)
downloadkittystore-29f188a48d909badf29cbda3b65f751434bde002.tar.gz
kittystore-29f188a48d909badf29cbda3b65f751434bde002.tar.xz
kittystore-29f188a48d909badf29cbda3b65f751434bde002.zip
Import the list description from Mailman
Diffstat (limited to 'kittystore/storm/schema/patch_6.py')
-rw-r--r--kittystore/storm/schema/patch_6.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kittystore/storm/schema/patch_6.py b/kittystore/storm/schema/patch_6.py
new file mode 100644
index 0000000..180e731
--- /dev/null
+++ b/kittystore/storm/schema/patch_6.py
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+
+def apply(store):
+ """Add the description column"""
+ store.execute('ALTER TABLE "list" ADD COLUMN "description" TEXT;')
+ store.commit()