 CREATE TABLE LOG_REQUEST_QUERY (
   rqq_id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL,
   rql_id INTEGER UNSIGNED NOT NULL,
-  rqq_query MEDIUMBLOB NOT NULL,
+  rqq_query MEDIUMTEXT NOT NULL,
   rqq_time FLOAT NOT NULL,
   CONSTRAINT PRIMARY_KEY PRIMARY KEY (rqq_id)
 );

/*  FileName : abc-request-logger-light.ecm                                       */
/*  Platform : MySQL 5.6                                                          */
/*  Version  : 1.0.0                                                              */
/*  Date     : donderdag 20 april 2017                                            */
/*================================================================================*/
/*================================================================================*/
/* CREATE TABLES                                                                  */

CREATE INDEX rql_id ON LOG_REQUEST_POST (rql_id);

CREATE INDEX IX_FK_LOG_REQUEST_QUERY ON LOG_REQUEST_QUERY (rql_id);
