Skip to content

Commit

Permalink
Added old MySQL versions to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
parpalak committed May 3, 2024
1 parent 6c45828 commit b5a5640
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/test_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ jobs:
matrix:
operating_system: ['ubuntu-22.04']
mysql_versions:
- 'mariadb-10.4'
- 'mariadb-10.5'
- 'mariadb-10.6'
- 'mariadb-10.11'
- 'mariadb-11.0'
- 'mariadb-11.1'
- 'mariadb-11.2'
- 'mariadb-11.3'
# - 'mariadb-10.4'
# - 'mariadb-10.5'
# - 'mariadb-10.6'
# - 'mariadb-10.11'
# - 'mariadb-11.0'
# - 'mariadb-11.1'
# - 'mariadb-11.2'
# - 'mariadb-11.3'
# - 'mariadb-11.4'
- '5.6'
- '5.7'
- '8.0'
- '8.2'
- '8.3'
# - '8.2'
# - '8.3'
php_versions:
- '8.2'
include:
Expand Down
10 changes: 5 additions & 5 deletions _include/src/Model/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function createTables(): void
$schema = array(
'FIELDS' => array(
'name' => array(
'datatype' => 'VARCHAR(255)',
'datatype' => 'VARCHAR(191)',
'allow_null' => false,
'default' => '\'\''
),
Expand Down Expand Up @@ -291,8 +291,8 @@ public function createTables(): void
),
'PRIMARY KEY' => array('tag_id'),
'UNIQUE KEYS' => array(
'name_idx' => array('name'),
'url_idx' => array('url')
'name_idx' => array('name(191)'),
'url_idx' => array('url(191)')
)
);

Expand Down Expand Up @@ -344,7 +344,7 @@ public function createTables(): void
'default' => '0'
),
'login' => array(
'datatype' => 'VARCHAR(200)',
'datatype' => 'VARCHAR(191)',
'allow_null' => true
),
'ip' => array(
Expand Down Expand Up @@ -379,7 +379,7 @@ public function createTables(): void
'allow_null' => false
),
'login' => array(
'datatype' => 'VARCHAR(200)',
'datatype' => 'VARCHAR(191)',
'allow_null' => false,
'default' => '\'\''
),
Expand Down

0 comments on commit b5a5640

Please sign in to comment.