MySQL5.5 code fix for .sql files; changed TYPE= to ENGINE=
[openemr.git] / contrib / forms / patient_instruction / table.sql
blob7297b63d5a0e4faa1f0c35292bdd2d3c7329c40a
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 ) ENGINE=InnoDB;