Simplified code from previous commit
[openemr.git] / contrib / forms / complaint_history / table.sql
blob1c1fc6a67602a2102727530d91e1a4a9a050f761
1 CREATE TABLE IF NOT EXISTS `form_complaint_history` (
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   `complaint_history`          text NOT NULL DEFAULT '',
10   PRIMARY KEY (id)
11 ) ENGINE=InnoDB;