<p>SVN revision 2489 has a create_database.sql script for MySQL with explicit k + v varchar(255):</p>
<p><a href="https://svn.openstreetmap.org/!svn/bc/2489/sites/rails_port/db/create_database.sql" rel="nofollow">https://svn.openstreetmap.org/!svn/bc/2489/sites/rails_port/db/create_database.sql</a></p>
<pre><code>DROP TABLE IF EXISTS `current_way_tags`;
CREATE TABLE `current_way_tags` (
`id` bigint(64) default NULL,
`k` varchar(255) default NULL,
`v` varchar(255) default NULL,
KEY `current_way_tags_id_idx` (`id`),
FULLTEXT KEY `current_way_tags_v_idx` (`v`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
</code></pre>
<p>I don't see the actual date for rev 2489 on the web interface, but it should be somewhat early in the project.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLTToxO729A3xI7yXfzA_vHkHdA6cks5ulGLagaJpZM4XZv3k">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLbe9Uvf0Ml06XnfL1lsb7tmSPkAaks5ulGLagaJpZM4XZv3k.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mmd-osm in #2025: SVN revision 2489 has a create_database.sql script for MySQL with explicit k + v varchar(255):\r\n\r\nhttps://svn.openstreetmap.org/!svn/bc/2489/sites/rails_port/db/create_database.sql\r\n\r\n```\r\nDROP TABLE IF EXISTS `current_way_tags`;\r\nCREATE TABLE `current_way_tags` (\r\n `id` bigint(64) default NULL,\r\n `k` varchar(255) default NULL,\r\n `v` varchar(255) default NULL,\r\n KEY `current_way_tags_id_idx` (`id`),\r\n FULLTEXT KEY `current_way_tags_v_idx` (`v`)\r\n) ENGINE=MyISAM DEFAULT CHARSET=utf8;\r\n\r\n```\r\nI don't see the actual date for rev 2489 on the web interface, but it should be somewhat early in the project.\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] Increase may key and value max length (#2025)",
"sections": [
{
"text": "",
"activityTitle": "**mmd**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@mmd-osm",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2025,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2025\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 392625636\n}"
}
],
"themeColor": "26292E"
}
]</script>