Nuria has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/343122 )
Change subject: Bumping up length of varchar columns
......................................................................
Bumping up length of varchar columns
Bug: T160454
Change-Id: Icd1ed0ee414e6f923aa8d71cc6c7f29b53991220
---
M eventlogging/jrm.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/eventlogging
refs/changes/22/343122/1
diff --git a/eventlogging/jrm.py b/eventlogging/jrm.py
index 6ad19fa..15a7e0b 100644
--- a/eventlogging/jrm.py
+++ b/eventlogging/jrm.py
@@ -76,7 +76,7 @@
# Maximum length for string and string-like types. Because InnoDB limits index
# columns to 767 bytes, the maximum length for a utf8mb4 column (which
# reserves up to four bytes per character) is 191 (191 * 4 = 764).
-STRING_MAX_LEN = 191
+STRING_MAX_LEN = 1024
# Default table column definition, to be overridden by mappers below.
COLUMN_DEFAULTS = {'type_': sqlalchemy.Unicode(STRING_MAX_LEN)}
--
To view, visit https://gerrit.wikimedia.org/r/343122
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd1ed0ee414e6f923aa8d71cc6c7f29b53991220
Gerrit-PatchSet: 1
Gerrit-Project: eventlogging
Gerrit-Branch: master
Gerrit-Owner: Nuria <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits