saikensf wrote on Wednesday, June 02, 2010:
Also, for diff oriented people:
axe:sql saiken$ svn diff -r 222 database.sql
Index: database.sql
– database.sql (revision 222)
+++ database.sql (working copy)
@@ -1311,7 +1311,7 @@
`name_2` varchar(255) default NULL,
`value_2` varchar(255) default NULL,
`additional_history` text,
- `exams` text NOT NULL DEFAULT ‘’,
+ `exams` text NOT NULL,
`usertext11` varchar(255) NOT NULL DEFAULT ‘’,
`usertext12` varchar(255) NOT NULL DEFAULT ‘’,
`usertext13` varchar(255) NOT NULL DEFAULT ‘’,
@@ -1337,8 +1337,8 @@
`userdate13` date DEFAULT NULL,
`userdate14` date DEFAULT NULL,
`userdate15` date DEFAULT NULL,
- `userarea11` text NOT NULL DEFAULT ‘’,
- `userarea12` text NOT NULL DEFAULT ‘’,
+ `userarea11` text NOT NULL,
+ `userarea12` text NOT NULL,
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
@@ -2142,7 +2142,7 @@
- Dumping data for table `openemr_postcalendar_categories`
-
-INSERT INTO `openemr_postcalendar_categories` VALUES (5, ‘Office Visit’, ‘#FFFFCC’, ‘Normal Office Visit’, 0, NULL, ‘a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:“event_repeat_freq_type”;s:1:“0”;s:19:“event_repeat_on_num”;s:1:“1”;s:19:“event_repeat_on_day”;s:1:“0”;s:20:“event_repeat_on_freq”;s:1:“0”;}’, 0, 900, 0, 0, 0, 0);
+INSERT INTO `openemr_postcalendar_categories` VALUES (5, ‘Office Visit’, ‘#FFFFCC’, ‘Normal Office Visit’, 0, NULL, ‘a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:“event_repeat_freq_type”;s:1:“0”;s:19:“event_repeat_on_num”;s:1:“1”;s:19:“event_repeat_on_day”;s:1:“0”;s:20:“event_repeat_on_freq”;s:1:“0”;}’, 0, 900, 0, 0, 0, 0, 0);
INSERT INTO `openemr_postcalendar_categories` VALUES (4, ‘Vacation’, ‘#EFEFEF’, ‘Reserved for use to define Scheduled Vacation Time’, 0, NULL, ‘a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:“event_repeat_freq_type”;s:1:“0”;s:19:“event_repeat_on_num”;s:1:“1”;s:19:“event_repeat_on_day”;s:1:“0”;s:20:“event_repeat_on_freq”;s:1:“0”;}’, 0, 0, 0, 0, 0, 1, 0);
INSERT INTO `openemr_postcalendar_categories` VALUES (1, ‘No Show’, ‘#DDDDDD’, ‘Reserved to define when an event did not occur as specified.’, 0, NULL, ‘a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:“event_repeat_freq_type”;s:1:“0”;s:19:“event_repeat_on_num”;s:1:“1”;s:19:“event_repeat_on_day”;s:1:“0”;s:20:“event_repeat_on_freq”;s:1:“0”;}’, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `openemr_postcalendar_categories` VALUES (2, ‘In Office’, ‘#99CCFF’, ‘Reserved todefine when a provider may haveavailable appointments after.’, 1, NULL, ‘a:5:{s:17:“event_repeat_freq”;s:1:“1”;s:22:“event_repeat_freq_type”;s:1:“4”;s:19:“event_repeat_on_num”;s:1:“1”;s:19:“event_repeat_on_day”;s:1:“0”;s:20:“event_repeat_on_freq”;s:1:“0”;}’, 0, 0, 1, 3, 2, 0, 0);
@@ -2660,7 +2660,7 @@
`id` bigint(20) NOT NULL auto_increment,
`date` datetime default NULL,
`title` varchar(255) NOT NULL DEFAULT ‘’,
- `body` longtext NOT NULL DEFAULT ‘’,
+ `body` longtext NOT NULL,
`pid` bigint(20) default NULL,
`user` varchar(255) NOT NULL DEFAULT ‘’,
`groupname` varchar(255) NOT NULL DEFAULT ‘’,
@@ -2678,10 +2678,10 @@
`reply_init_diag` varchar(255) NOT NULL DEFAULT ‘’,
`reply_final_diag` varchar(255) NOT NULL DEFAULT ‘’,
`reply_documents` varchar(255) NOT NULL DEFAULT ‘’,
- `reply_findings` text NOT NULL DEFAULT ‘’,
- `reply_services` text NOT NULL DEFAULT ‘’,
- `reply_recommend` text NOT NULL DEFAULT ‘’,
- `reply_rx_refer` text NOT NULL DEFAULT ‘’,
+ `reply_findings` text NOT NULL,
+ `reply_services` text NOT NULL,
+ `reply_recommend` text NOT NULL,
+ `reply_rx_refer` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
@@ -2765,7 +2765,7 @@
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
± -------------------------------------------------------
- Table structure for table `automatic_notification`
-
axe:sql saiken$ svn diff -r 222 database.sql | less
Index: database.sql
– database.sql (revision 222)
+++ database.sql (working copy)
@@ -1311,7 +1311,7 @@
`name_2` varchar(255) default NULL,
`value_2` varchar(255) default NULL,
`additional_history` text,
- `exams` text NOT NULL DEFAULT ‘’,
+ `exams` text NOT NULL,
`usertext11` varchar(255) NOT NULL DEFAULT ‘’,
`usertext12` varchar(255) NOT NULL DEFAULT ‘’,
`usertext13` varchar(255) NOT NULL DEFAULT ‘’,
@@ -1337,8 +1337,8 @@
`userdate13` date DEFAULT NULL,
`userdate14` date DEFAULT NULL,
`userdate15` date DEFAULT NULL,
- `userarea11` text NOT NULL DEFAULT ‘’,
- `userarea12` text NOT NULL DEFAULT ‘’,
+ `userarea11` text NOT NULL,
+ `userarea12` text NOT NULL,
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
@@ -2142,7 +2142,7 @@
- Dumping data for table `openemr_postcalendar_categories`
-
-INSERT INTO `openemr_postcalendar_categories` VALUES (5, ‘Office Visit’, ‘#FFFFCC’, ‘Normal Office Visit’, 0, NULL, 'a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:"event_repeat_freq_typ
+INSERT INTO `openemr_postcalendar_categories` VALUES (5, ‘Office Visit’, ‘#FFFFCC’, ‘Normal Office Visit’, 0, NULL, 'a:5:{s:17:“event_repeat_freq”;s:1:“0”;s:22:"event_repeat_freq_typ
INSERT INTO `openemr_postcalendar_categories` VALUES (4, ‘Vacation’, ‘#EFEFEF’, ‘Reserved for use to define Scheduled Vacation Time’, 0, NULL, 'a:5:{s:17:“event_repeat_freq”;s:1:“0”;
INSERT INTO `openemr_postcalendar_categories` VALUES (1, ‘No Show’, ‘#DDDDDD’, ‘Reserved to define when an event did not occur as specified.’, 0, NULL, 'a:5:{s:17:“event_repeat_freq”
INSERT INTO `openemr_postcalendar_categories` VALUES (1, ‘No Show’, ‘#DDDDDD’, ‘Reserved to define when an event did not occur as specified.’, 0, NULL, 'a:5:{s:17:“event_repeat_freq”
@@ -2660,7 +2660,7 @@
`id` bigint(20) NOT NULL auto_increment,
`date` datetime default NULL,
`title` varchar(255) NOT NULL DEFAULT ‘’,
- `body` longtext NOT NULL DEFAULT ‘’,
+ `body` longtext NOT NULL,
`pid` bigint(20) default NULL,
`user` varchar(255) NOT NULL DEFAULT ‘’,
`groupname` varchar(255) NOT NULL DEFAULT ‘’,
@@ -2678,10 +2678,10 @@
`reply_init_diag` varchar(255) NOT NULL DEFAULT ‘’,
`reply_final_diag` varchar(255) NOT NULL DEFAULT ‘’,
`reply_documents` varchar(255) NOT NULL DEFAULT ‘’,
- `reply_findings` text NOT NULL DEFAULT ‘’,
- `reply_services` text NOT NULL DEFAULT ‘’,
- `reply_recommend` text NOT NULL DEFAULT ‘’,
- `reply_rx_refer` text NOT NULL DEFAULT ‘’,
+ `reply_findings` text NOT NULL,
+ `reply_services` text NOT NULL,
+ `reply_recommend` text NOT NULL,
+ `reply_rx_refer` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
@@ -2765,7 +2765,7 @@
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
± -------------------------------------------------------
- Table structure for table `automatic_notification`
-