Skip to content

Commit

Permalink
Dev: database fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Jul 5, 2017
1 parent ad5e48d commit 011a60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -1734,7 +1734,7 @@ function createSurveyMenuTable293($oDB) {
"description" => "text ",
"changed_at" => "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP",
"changed_by" => "int(11) NOT NULL DEFAULT '0'",
"created_at" => "timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'",
"created_at" => "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP",
"created_by" => "int(11) NOT NULL DEFAULT '0'",
'PRIMARY KEY (`id`)',
'KEY `parent_id` (`parent_id`)',
Expand Down Expand Up @@ -1782,7 +1782,7 @@ function createSurveyMenuTable293($oDB) {
"language" => "character varying(255) NOT NULL DEFAULT 'en-GB'",
"changed_at" => "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP",
"changed_by" => "int(11) NOT NULL DEFAULT '0'",
"created_at" => "timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'",
"created_at" => "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP",
"created_by" => "int(11) NOT NULL DEFAULT '0'",
"PRIMARY KEY (id)",
"FOREIGN KEY (menu_id) REFERENCES prefix_surveymenu (menu_id) ON DELETE CASCADE",
Expand Down

0 comments on commit 011a60d

Please sign in to comment.