Use shorter feature name due to index length limitations

[MAILPOET-2008]
This commit is contained in:
Jan Jakeš
2019-05-16 14:00:07 +02:00
committed by M. Shull
parent 5b4600193d
commit 9172b7e990

View File

@@ -517,7 +517,7 @@ class Migrator {
function featureFlags() {
$attributes = array(
'id int(11) unsigned NOT NULL AUTO_INCREMENT,',
'name varchar(255) NOT NULL,',
'name varchar(100) NOT NULL,',
'value tinyint(1),',
'created_at timestamp NULL,', // must be NULL, see comment at the top
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',