diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-06-02 19:31:06 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-06-02 19:31:06 +0000 |
commit | db9e70d8cd65bfd4f8b4023ef4f82ce0af491494 (patch) | |
tree | cd706ebdbbddd627517cbe6453a56e1840d26e84 /tko/migrations | |
parent | 337acdf91bc660669ef32b61d15e22b21b7ac413 (diff) |
Change the VARCHAR for url from 65k to 1k
Rationale: URLs shouldn't come anywhere near the size of 65k characters
and it would be better to start off small and wait for people to hit the
1k limit than to start out with a limit no one will hit and largely increase our database
Signed-off-by: Scott Zawalski <scottz@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1577 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/migrations')
-rw-r--r-- | tko/migrations/006_add_table_query_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/migrations/006_add_table_query_history.py b/tko/migrations/006_add_table_query_history.py index 54b514da..41c5e29d 100644 --- a/tko/migrations/006_add_table_query_history.py +++ b/tko/migrations/006_add_table_query_history.py @@ -9,7 +9,7 @@ def migrate_down(manager): ADD_TABLE_QUERY_HISTORY = """ CREATE TABLE IF NOT EXISTS query_history (uid VARCHAR(32), time_created VARCHAR(32), user_comment VARCHAR(256), -url VARCHAR(65534)); +url VARCHAR(1000)); """ DROP_TABLE_QUERY_HISTORY = """ |