Skip to content

Commit

Permalink
add phone_pharmacy; change prescription item size to float
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsystems committed Aug 24, 2006
1 parent b9d9318 commit b155544
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions sql/2_8_1-to-2_8_2_upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ ALTER TABLE registry ADD COLUMN priority INT DEFAULT 0 AFTER date;
ALTER TABLE registry ADD COLUMN category VARCHAR(255) DEFAULT "category" AFTER priority;
ALTER TABLE registry ADD COLUMN nickname VARCHAR(255) DEFAULT '' AFTER category;

# ALTER TABLE patient_data
# ADD phone_pharmacy varchar(255) NOT NULL default '';
ALTER TABLE patient_data
ADD phone_pharmacy varchar(255) NOT NULL default '';

## array table for storing configuration data and string lists etc...

Expand Down Expand Up @@ -362,3 +362,9 @@ ALTER TABLE drug_inventory
ADD destroy_method varchar(255) NOT NULL DEFAULT '',
ADD destroy_witness varchar(255) NOT NULL DEFAULT '',
ADD destroy_notes varchar(255) NOT NULL DEFAULT '';

ALTER TABLE prescriptions
MODIFY `size` float unsigned DEFAULT NULL;

ALTER TABLE drugs
MODIFY `size` float unsigned NOT NULL DEFAULT 0;

0 comments on commit b155544

Please sign in to comment.