summaryrefslogtreecommitdiff
path: root/tko/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'tko/migrations')
-rw-r--r--tko/migrations/020_widen_hostname_field.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/migrations/020_widen_hostname_field.py b/tko/migrations/020_widen_hostname_field.py
index ffb2418d..ccdec846 100644
--- a/tko/migrations/020_widen_hostname_field.py
+++ b/tko/migrations/020_widen_hostname_field.py
@@ -1,5 +1,5 @@
def migrate_up(mgr):
- mgr.execute("alter table machines modify column hostname varchar(1000);")
+ mgr.execute("alter table machines modify column hostname varchar(700);")
def migrate_down(mgr):
mgr.execute("alter table machines modify column hostname varchar(100);")