Skip to content

Commit

Permalink
Task techjoomla#44 fix: Updated table charset and collation
Browse files Browse the repository at this point in the history
  • Loading branch information
praneettekdi committed Jul 18, 2019
1 parent 8176910 commit 296a9a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ CREATE TABLE IF NOT EXISTS `#__hierarchy_users` (
`state` INT(11) NOT NULL,
`note` TEXT NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT COLLATE=utf8_general_ci;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
3 changes: 3 additions & 0 deletions administrator/sql/updates/mysql/1.1.2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE `#__hierarchy_users` ENGINE = InnoDB;

ALTER TABLE `#__hierarchy_users` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

0 comments on commit 296a9a2

Please sign in to comment.