Skip to content

Commit

Permalink
Update SQL files
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienheraud committed Jul 19, 2022
1 parent ae12558 commit 1514c01
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
36 changes: 18 additions & 18 deletions administrator/components/com_cck/install/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1684,23 +1684,23 @@ CREATE TABLE IF NOT EXISTS `#__cck_store_item_categories` (

CREATE TABLE IF NOT EXISTS `#__cck_store_item_users` (
`id` int(10) UNSIGNED NOT NULL,
`cck` varchar(50) NOT NULL,
`gender` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`first_name` varchar(255) NOT NULL,
`about_me` text NOT NULL,
`avatar` varchar(255) NOT NULL,
`address1` text NOT NULL,
`address2` text NOT NULL,
`city` varchar(255) NOT NULL,
`postal_code` varchar(255) NOT NULL,
`region` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`phone` varchar(255) NOT NULL,
`website` varchar(255) NOT NULL,
`birthdate` datetime NOT NULL,
`birthplace` varchar(255) NOT NULL,
`company` varchar(255) NOT NULL,
`company_vat_id` varchar(255) NOT NULL,
`cck` varchar(50) NOT NULL DEFAULT '',
`gender` varchar(255) NOT NULL DEFAULT '',
`last_name` varchar(255) NOT NULL DEFAULT '',
`first_name` varchar(255) NOT NULL DEFAULT '',
`about_me` text NOT NULL DEFAULT '',
`avatar` varchar(255) NOT NULL DEFAULT '',
`address1` text NOT NULL DEFAULT '',
`address2` text NOT NULL DEFAULT '',
`city` varchar(255) NOT NULL DEFAULT '',
`postal_code` varchar(255) NOT NULL DEFAULT '',
`region` varchar(255) NOT NULL DEFAULT '',
`country` varchar(255) NOT NULL DEFAULT '',
`phone` varchar(255) NOT NULL DEFAULT '',
`website` varchar(255) NOT NULL DEFAULT '',
`birthdate` datetime NULL DEFAULT NULL,
`birthplace` varchar(255) NOT NULL DEFAULT '',
`company` varchar(255) NOT NULL DEFAULT '',
`company_vat_id` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ UPDATE `#__cck_core_fields` SET `label` = 'clear' WHERE `name` IN ("icon_delete"

ALTER TABLE `#__cck_store_item_content` CHANGE `cck` `cck` VARCHAR(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';
ALTER TABLE `#__cck_store_item_categories` CHANGE `cck` `cck` VARCHAR(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';
ALTER TABLE `#__cck_store_item_users` CHANGE `cck` `cck` VARCHAR(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';

--

0 comments on commit 1514c01

Please sign in to comment.