Skip to content

Commit

Permalink
Deleted all DEFAULT values on SQL types 'text'
Browse files Browse the repository at this point in the history
  • Loading branch information
eXsiLe95 committed Sep 4, 2017
1 parent 3311635 commit 12142e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions installation/sql/mysql/joomla.sql
Expand Up @@ -1467,7 +1467,7 @@ CREATE TABLE IF NOT EXISTS `#__modules` (
`asset_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`title` varchar(100) NOT NULL DEFAULT '',
`note` varchar(255) NOT NULL DEFAULT '',
`content` text DEFAULT NULL,
`content` text,
`ordering` int(11) NOT NULL DEFAULT 0,
`position` varchar(50) NOT NULL DEFAULT '',
`checked_out` int(10) unsigned NOT NULL DEFAULT 0,
Expand Down Expand Up @@ -1807,7 +1807,7 @@ CREATE TABLE IF NOT EXISTS `#__ucm_content` (
`core_checked_out_time` varchar(255) NOT NULL DEFAULT '0000-00-00 00:00:00',
`core_checked_out_user_id` int(10) unsigned NOT NULL DEFAULT 0,
`core_access` int(10) unsigned NOT NULL DEFAULT 0,
`core_params` text NOT NULL DEFAULT '',
`core_params` text,
`core_featured` tinyint(4) unsigned NOT NULL DEFAULT 0,
`core_metadata` varchar(2048) NOT NULL DEFAULT '' COMMENT 'JSON encoded metadata properties.',
`core_created_user_id` int(10) unsigned NOT NULL DEFAULT 0,
Expand All @@ -1820,13 +1820,13 @@ CREATE TABLE IF NOT EXISTS `#__ucm_content` (
`core_publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`core_content_item_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'ID from the individual type table',
`asset_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`core_images` text NOT NULL DEFAULT '',
`core_urls` text NOT NULL DEFAULT '',
`core_images` text,
`core_urls` text,
`core_hits` int(10) unsigned NOT NULL DEFAULT 0,
`core_version` int(10) unsigned NOT NULL DEFAULT 1,
`core_ordering` int(11) NOT NULL DEFAULT 0,
`core_metakey` text NOT NULL DEFAULT '',
`core_metadesc` text NOT NULL DEFAULT '',
`core_metakey` text,
`core_metadesc` text,
`core_catid` int(10) unsigned NOT NULL DEFAULT 0,
`core_xreference` varchar(50) NOT NULL DEFAULT '' COMMENT 'A reference to enable linkages to external data sets.',
`core_type_id` int(10) unsigned NOT NULL DEFAULT 0,
Expand Down
20 changes: 10 additions & 10 deletions installation/sql/postgresql/joomla.sql
Expand Up @@ -209,12 +209,12 @@ CREATE TABLE IF NOT EXISTS "#__categories" (
"title" varchar(255) DEFAULT '' NOT NULL,
"alias" varchar(255) DEFAULT '' NOT NULL,
"note" varchar(255) DEFAULT '' NOT NULL,
"description" text DEFAULT '' NOT NULL,
"description" text,
"published" smallint DEFAULT 0 NOT NULL,
"checked_out" bigint DEFAULT 0 NOT NULL,
"checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"access" bigint DEFAULT 0 NOT NULL,
"params" text DEFAULT '' NOT NULL,
"params" text,
"metadesc" varchar(1024) DEFAULT '' NOT NULL,
"metakey" varchar(1024) DEFAULT '' NOT NULL,
"metadata" varchar(2048) DEFAULT '' NOT NULL,
Expand Down Expand Up @@ -674,17 +674,17 @@ CREATE TABLE IF NOT EXISTS "#__fields" (
"title" varchar(255) DEFAULT '' NOT NULL,
"name" varchar(255) DEFAULT '' NOT NULL,
"label" varchar(255) DEFAULT '' NOT NULL,
"default_value" text DEFAULT '' NOT NULL,
"default_value" text,
"type" varchar(255) DEFAULT 'text' NOT NULL,
"note" varchar(255) DEFAULT '' NOT NULL,
"description" text DEFAULT '' NOT NULL,
"description" text,
"state" smallint DEFAULT 0 NOT NULL,
"required" smallint DEFAULT 0 NOT NULL,
"checked_out" integer DEFAULT 0 NOT NULL,
"checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"ordering" bigint DEFAULT 0 NOT NULL,
"params" text DEFAULT '' NOT NULL,
"fieldparams" text DEFAULT '' NOT NULL,
"params" text,
"fieldparams" text,
"language" varchar(7) DEFAULT '' NOT NULL,
"created_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"created_user_id" bigint DEFAULT 0 NOT NULL,
Expand Down Expand Up @@ -725,7 +725,7 @@ CREATE TABLE IF NOT EXISTS "#__fields_groups" (
"checked_out" integer DEFAULT '0' NOT NULL,
"checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"ordering" integer DEFAULT '0' NOT NULL,
"params" text DEFAULT '' NOT NULL,
"params" text,
"language" varchar(7) DEFAULT '' NOT NULL,
"created" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"created_by" bigint DEFAULT '0' NOT NULL,
Expand All @@ -748,7 +748,7 @@ CREATE INDEX "#__fields_groups_idx_language" ON "#__fields_groups" ("language");
CREATE TABLE IF NOT EXISTS "#__fields_values" (
"field_id" bigint DEFAULT 0 NOT NULL,
"item_id" varchar(255) DEFAULT '' NOT NULL,
"value" text DEFAULT '' NOT NULL
"value" text
);
CREATE INDEX "#__fields_values_idx_field_id" ON "#__fields_values" ("field_id");
CREATE INDEX "#__fields_values_idx_item_id" ON "#__fields_values" ("item_id");
Expand Down Expand Up @@ -784,7 +784,7 @@ CREATE TABLE IF NOT EXISTS "#__finder_links" (
"url" varchar(255) NOT NULL,
"route" varchar(255) NOT NULL,
"title" varchar(400) DEFAULT NULL,
"description" text DEFAULT '' NOT NULL,
"description" text,
"indexdate" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"md5sum" varchar(32) DEFAULT NULL,
"published" smallint DEFAULT 1 NOT NULL,
Expand Down Expand Up @@ -1438,7 +1438,7 @@ CREATE TABLE IF NOT EXISTS "#__modules" (
"asset_id" bigint DEFAULT 0 NOT NULL,
"title" varchar(100) DEFAULT '' NOT NULL,
"note" varchar(255) DEFAULT '' NOT NULL,
"content" text DEFAULT NULL,
"content" text,
"ordering" bigint DEFAULT 0 NOT NULL,
"position" varchar(50) DEFAULT '' NOT NULL,
"checked_out" integer DEFAULT 0 NOT NULL,
Expand Down

0 comments on commit 12142e8

Please sign in to comment.