[openstreetmap/openstreetmap-website] Increase may key and value max length (#2025)

mmd notifications at github.com
Mon Oct 15 10:26:34 UTC 2018


SVN revision 2489 has a create_database.sql script for MySQL with explicit k + v varchar(255):

https://svn.openstreetmap.org/!svn/bc/2489/sites/rails_port/db/create_database.sql

```
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;

```
I don't see the actual date for rev 2489 on the web interface, but it should be somewhat early in the project.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429792933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181015/2332a4d2/attachment-0001.html>


More information about the rails-dev mailing list