Skip to content

Commit bda3c15

Browse files
committed
Updating Social Media links column to be a text instead of varchar.
should fix #4 for new and existing installs. @chandanndeep to release new version when possible.
1 parent e60a5ea commit bda3c15

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/com_jdprofiler/administrator/sql/install.mysql.utf8.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS `#__jdprofiler_profiles` (
1212
`lbio` TEXT NOT NULL ,
1313
`team` VARCHAR(255) NOT NULL ,
1414
`location` VARCHAR(255) NOT NULL ,
15-
`social` VARCHAR(255) NOT NULL ,
15+
`social` TEXT NOT NULL ,
1616
`skills` TEXT NOT NULL ,
1717
`details` TEXT NOT NULL ,
1818
`ordering` INT(11) NOT NULL ,

packages/com_jdprofiler/administrator/sql/update.mysql.utf8.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `#__jdprofiler_profiles` CHANGE `social` `social` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;

packages/com_jdprofiler/jdprofiler.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>JoomDev</author>
88
<authorEmail>info@joomdev.com</authorEmail>
99
<authorUrl>https://www.joomdev.com</authorUrl>
10-
<version>1.2</version>
10+
<version>1.3</version>
1111
<updateservers>
1212
<server type="extension" name="com_jdprofiler" priority="1">https://cdn.joomdev.com/extensionupdates/com_jdprofiler.xml</server>
1313
</updateservers>
@@ -18,11 +18,11 @@
1818
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
1919
</sql>
2020
</install>
21-
<update> <!-- Runs on update -->
22-
<sql>
23-
<file driver="mysql" charset="utf8">sql/update.mysql.utf8.sql</file>
24-
</sql>
25-
</update>
21+
<update> <!-- Runs on update -->
22+
<schemas>
23+
<schemapath type="mysql">sql/updates</schemapath>
24+
</schemas>
25+
</update>
2626
<uninstall> <!-- Runs on uninstall -->
2727
<sql>
2828
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>

packages/mod_jdprofiler/mod_jdprofiler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
88
<authorEmail>info@joomdev.com</authorEmail>
99
<authorUrl>www.joomdev.com</authorUrl>
10-
<version>1.2</version>
10+
<version>1.3</version>
1111
<description>MOD_JDPROFILER_XML_DESCRIPTION</description>
1212
<updateservers>
1313
<server type="extension" name="mod_jdprofiler" priority="1">https://cdn.joomdev.com/extensionupdates/mod_jdprofiler.xml</server>

pkg_jdprofiler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<creationDate>June 2019</creationDate>
88
<copyright>Copyright (C) 2019 JoomDev, Inc. All rights reserved.</copyright>
99
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
10-
<version>1.2</version>
10+
<version>1.3</version>
1111
<authorEmail>info@joomdev.com</authorEmail>
1212
<authorUrl>https://www.joomdev.com</authorUrl>
1313
<description></description>

0 commit comments

Comments
 (0)