Compare commits

...

2 Commits

Author SHA1 Message Date
42880bb24a Release 3.103.1 2022-11-08 12:34:56 -03:00
3d343a2024 Reduce size of a database field to avoid error in some MySQL versions
This commit reduces the size of the `name` field from varchar(255) to
varchar(191) to avoid the following fatal error in some MySQL versions:

```
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
```

See the ticket descriptions and the links in it for more information.

[MAILPOET-4790]
2022-11-08 12:30:28 -03:00
3 changed files with 7 additions and 4 deletions

View File

@ -64,7 +64,7 @@ class Store {
$this->connection->executeStatement("
CREATE TABLE IF NOT EXISTS {$this->table} (
id int(11) unsigned NOT NULL AUTO_INCREMENT,
name varchar(255) NOT NULL,
name varchar(191) NOT NULL,
started_at timestamp NOT NULL,
completed_at timestamp NULL,
retries int(11) unsigned NOT NULL DEFAULT 0,

View File

@ -2,7 +2,7 @@
/*
* Plugin Name: MailPoet
* Version: 3.103.0
* Version: 3.103.1
* Plugin URI: https://www.mailpoet.com
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
* Author: MailPoet
@ -20,7 +20,7 @@
*/
$mailpoetPlugin = [
'version' => '3.103.0',
'version' => '3.103.1',
'filename' => __FILE__,
'path' => dirname(__FILE__),
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',

View File

@ -3,7 +3,7 @@ Contributors: mailpoet
Tags: email, email marketing, post notification, woocommerce emails, email automation, newsletter, newsletter builder, newsletter subscribers
Requires at least: 5.6
Tested up to: 6.0
Stable tag: 3.103.0
Stable tag: 3.103.1
Requires PHP: 7.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -219,6 +219,9 @@ Check our [Knowledge Base](https://kb.mailpoet.com) or contact us through our [s
== Changelog ==
= 3.103.1 - 2022-11-08 =
* Fix a database problem that affected some versions of MySQL when creating the new migrations table.
= 3.103.0 - 2022-11-07 =
* Added: deleteList and updateList API methods (https://github.com/mailpoet/mailpoet/tree/trunk/doc);
* Added: forms can be configured to show on product pages;