summaryrefslogtreecommitdiff
path: root/tko/migrations
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-10-28 00:29:48 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-10-28 00:29:48 +0000
commitdd4cbc563a5ff461e50812d8423fef632c215133 (patch)
tree3cd0ff91889dca52270da38c67f94aad4a5e733d /tko/migrations
parent3cd91e3ece866a11c5bb04fd471d177d58315023 (diff)
Widened the test field to 60 chars from 30 chars.
Signed-off-by: Travis Miller <raphtee@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2347 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/migrations')
-rw-r--r--tko/migrations/019_widen_test_name_field.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tko/migrations/019_widen_test_name_field.py b/tko/migrations/019_widen_test_name_field.py
new file mode 100644
index 00000000..888619c9
--- /dev/null
+++ b/tko/migrations/019_widen_test_name_field.py
@@ -0,0 +1,5 @@
+def migrate_up(mgr):
+ mgr.execute("alter table tests modify column test varchar(60);")
+
+def migrate_down(mgr):
+ mgr.execute("alter table tests modify column test varchar(30);")