From 415aeebc43a0c22045c1dfff139c5e1a3384fdc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Thu, 18 Jul 2019 11:44:25 +0530 Subject: [PATCH 1/3] Task #41 feat: Update default DB engine and charser of the tables --- src/admin/sql/install.mysql.utf8.sql | 10 ++++------ src/admin/sql/updates/mysql/1.0.2.sql | 5 +++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100755 src/admin/sql/updates/mysql/1.0.2.sql diff --git a/src/admin/sql/install.mysql.utf8.sql b/src/admin/sql/install.mysql.utf8.sql index 1d0e0ba..29bb68f 100755 --- a/src/admin/sql/install.mysql.utf8.sql +++ b/src/admin/sql/install.mysql.utf8.sql @@ -1,5 +1,5 @@ CREATE TABLE IF NOT EXISTS `#__tj_activities` ( - `id` INT(11) NOT NULL AUTO_INCREMENT, + `id` INT(11) NOT NULL AUTO_INCREMENT, `actor` text(900), `actor_id` text(900), `object` text(900), @@ -7,8 +7,8 @@ CREATE TABLE IF NOT EXISTS `#__tj_activities` ( `target` text(900), `target_id` text(900), `type` text(900), - `template` text(900), - `formatted_text` text(900), + `template` text, + `formatted_text` text, `access` tinyint(2) DEFAULT 1, `state` tinyint(2) DEFAULT 1, `location` text(900), @@ -17,6 +17,4 @@ CREATE TABLE IF NOT EXISTS `#__tj_activities` ( `created_date` datetime DEFAULT NULL, `updated_date` datetime DEFAULT NULL, PRIMARY KEY (`id`) -) - DEFAULT CHARSET =utf8 AUTO_INCREMENT =1; - +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; diff --git a/src/admin/sql/updates/mysql/1.0.2.sql b/src/admin/sql/updates/mysql/1.0.2.sql new file mode 100755 index 0000000..5dd3a2d --- /dev/null +++ b/src/admin/sql/updates/mysql/1.0.2.sql @@ -0,0 +1,5 @@ +ALTER TABLE `#__tj_activities` MODIFY `template` text; +ALTER TABLE `#__tj_activities` MODIFY `formatted_text` text; + +ALTER TABLE `#__tj_activities` ENGINE = InnoDB; +ALTER TABLE `#__tj_activities` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; \ No newline at end of file From a842cde1ea9963090fc49c6a8d047c5513266545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Tue, 22 Oct 2019 14:30:28 +0530 Subject: [PATCH 2/3] Task #42 feat: Update default DB engine and charser of the tables --- src/admin/sql/updates/mysql/1.0.2.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/admin/sql/updates/mysql/1.0.2.sql b/src/admin/sql/updates/mysql/1.0.2.sql index 5dd3a2d..ff1aab3 100755 --- a/src/admin/sql/updates/mysql/1.0.2.sql +++ b/src/admin/sql/updates/mysql/1.0.2.sql @@ -1,5 +1,3 @@ ALTER TABLE `#__tj_activities` MODIFY `template` text; ALTER TABLE `#__tj_activities` MODIFY `formatted_text` text; - -ALTER TABLE `#__tj_activities` ENGINE = InnoDB; -ALTER TABLE `#__tj_activities` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; \ No newline at end of file +ALTER TABLE `#__tj_activities` ENGINE = InnoDB; \ No newline at end of file From 528d8e5e8d7e0b0f460c32c702d59bf42b7fadba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Tue, 22 Oct 2019 14:40:22 +0530 Subject: [PATCH 3/3] Version update --- src/activitystream.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/activitystream.xml b/src/activitystream.xml index 2bb1b90..f51c0ea 100755 --- a/src/activitystream.xml +++ b/src/activitystream.xml @@ -1,17 +1,13 @@ com_activitystream - - 8th Feb 2019 + 22nd Oct 2019 Techjoomla extensions@techjoomla.com https://techjoomla.com Copyright (C) 2016 - 2019 Techjoomla. All rights reserved. http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL - - 1.0.1 - - + 1.0.2 COM_ACTIVITYSTREAM_DESCRIPTION script.activitystream.php