Merge branch 'master' of git://github.com/openemr/openemr
[openemr.git] / contrib / forms / patient_instruction / table.sql
blob968bf9bce28b986cc99220db008bdfbbe83f2cfd
1 CREATE TABLE IF NOT EXISTS `form_patient_instruction` (
2   `id`                  bigint(20)   NOT NULL auto_increment,
3   `date`                datetime     DEFAULT NULL,
4   `pid`                 bigint(20)   NOT NULL DEFAULT 0,
5   `user`                varchar(255) DEFAULT NULL,
6   `groupname`           varchar(255) DEFAULT NULL,
7   `authorized`          tinyint(4)   NOT NULL DEFAULT 0,
8   `activity`            tinyint(4)   NOT NULL DEFAULT 0,
9   `instruction`         varchar(30000) NOT NULL DEFAULT '',
10   PRIMARY KEY (id)
11 ) TYPE=InnoDB;