Skip to content

Commit

Permalink
[modules db table] Add default to content db field in mysql (already …
Browse files Browse the repository at this point in the history
…like that is postgresql and sqlsrv) (#13035)

* add default to content

* Update 3.7.0-2016-11-27.sql
  • Loading branch information
andrepereiradasilva authored and rdeutz committed Dec 6, 2016
1 parent f6046e5 commit ad1ff7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Normalize modules content field with other db systems. Add default value.
ALTER TABLE `#__modules` MODIFY `content` text NOT NULL DEFAULT '';
2 changes: 1 addition & 1 deletion installation/sql/mysql/joomla.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,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 NOT NULL,
`content` text NOT NULL DEFAULT '',
`ordering` int(11) NOT NULL DEFAULT 0,
`position` varchar(50) NOT NULL DEFAULT '',
`checked_out` int(10) unsigned NOT NULL DEFAULT 0,
Expand Down

0 comments on commit ad1ff7c

Please sign in to comment.