Skip to content

Commit

Permalink
removed "default current_timestamp on update current_timestamp" which…
Browse files Browse the repository at this point in the history
… is unnecessary and incompatible with mysql 4.0
  • Loading branch information
sunsetsystems committed Oct 16, 2009
1 parent 00b780a commit 8465777
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ CREATE TABLE `documents` (
`mimetype` varchar(255) default NULL,
`pages` int(11) default NULL,
`owner` int(11) default NULL,
`revision` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`revision` timestamp NOT NULL,
`foreign_id` int(11) default NULL,
`docdate` date default NULL,
`list_id` bigint(20) NOT NULL default '0',
Expand Down Expand Up @@ -1363,7 +1363,7 @@ CREATE TABLE `immunizations` (
`vis_date` date default NULL COMMENT 'Date of VIS Statement',
`note` text,
`create_date` datetime default NULL,
`update_date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`update_date` timestamp NOT NULL,
`created_by` bigint(20) default NULL,
`updated_by` bigint(20) default NULL,
PRIMARY KEY (`id`)
Expand Down Expand Up @@ -2018,7 +2018,7 @@ CREATE TABLE `notes` (
`note` varchar(255) default NULL,
`owner` int(11) default NULL,
`date` datetime default NULL,
`revision` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`revision` timestamp NOT NULL,
PRIMARY KEY (`id`),
KEY `foreign_id` (`owner`),
KEY `foreign_id_2` (`foreign_id`),
Expand Down Expand Up @@ -2456,7 +2456,7 @@ CREATE TABLE `pma_history` (
`username` varchar(64) default NULL,
`db` varchar(64) default NULL,
`table` varchar(64) default NULL,
`timevalue` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`timevalue` timestamp NOT NULL,
`sqlquery` text,
PRIMARY KEY (`id`),
KEY `username` (`username`,`db`,`table`,`timevalue`)
Expand Down

0 comments on commit 8465777

Please sign in to comment.