forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate development tip to version 3.2.0-dev
- Loading branch information
bradymiller
committed
Aug 25, 2009
1 parent
0e1cbcf
commit 4571a6a
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#IfMissingColumn users calendar | ||
ALTER TABLE `users` | ||
ADD `calendar` TINYINT(1) NOT NULL DEFAULT 0 COMMENT '1 = appears in calendar'; | ||
UPDATE users SET calendar = 1 WHERE authorized = 1 AND ( info IS NULL OR info NOT LIKE '%Nocalendar%' ); | ||
#EndIf | ||
|
||
#IfNotRow2D list_options list_id lists option_id lbfnames | ||
INSERT INTO list_options VALUES ('lists','lbfnames','Layout-Based Visit Forms',9,0,0); | ||
#EndIf | ||
|
||
#IfNotTable lbf_data | ||
CREATE TABLE `lbf_data` ( | ||
`form_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'references forms.form_id', | ||
`field_id` varchar(31) NOT NULL COMMENT 'references layout_options.field_id', | ||
`field_value` varchar(255) NOT NULL, | ||
PRIMARY KEY (`form_id`,`field_id`) | ||
) ENGINE=MyISAM COMMENT='contains all data from layout-based forms'; | ||
#EndIf | ||
|