CREATE TABLE IF NOT EXISTS `form_note` (
id bigint(20) NOT NULL auto_increment,
date datetime default NULL,
pid bigint(20) default NULL,
user varchar(255) default NULL,
groupname varchar(255) default NULL,
authorized tinyint(4) default NULL,
activity tinyint(4) default NULL,
note_type varchar(255),
message longtext,
doctor varchar(255),
date_of_signature datetime default NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB;
