Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291377

block_schema(): Change block.delta from varchar(32) to varchar(64)

$
0
0

In block_schema(), the 'block' table, the column 'delta' currently is a varchar(32).

It is quite easy to hit this limit. Especially if the block delta is composed from different parts for disambiguation.
E.g. mymodule-footer_product_categories (the block's module is "menupoly", not "mymodule")
Or #1512656: Block delta too long with some menus ("Better Jump Menus")
Or https://www.google.com/search?q=Data+too+long+for+column+'delta'+drupal+block&oq=Data+too+long+for+column+'delta'+drupal+block&sourceid=chrome&ie=UTF-8

Changing it from varchar(32) to varchar(64) would be an improvement already..


Viewing all articles
Browse latest Browse all 291377

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>