public function createSchema()
 {
     $schema = new ModelSchema("tblRhubarbLogEntry");
     $schema->addColumn(new AutoIncrementColumn("RhubarbLogEntryID"), new StringColumn("LogSession", "30"), new DateTimeColumn("EntryDate"), new StringColumn("Category", 50), new MySqlMediumTextColumn("Message"), new MySqlMediumTextColumn("AdditionalData"), new StringColumn("IpAddress", 15), new DecimalColumn("ExecutionTime", 12, 4), new DecimalColumn("ExecutionGapTime", 12, 4), new StringColumn("Request", 500), new StringColumn("Host", 200), new StringColumn("ScriptName", 200), new IntegerColumn("ErrorLevel"));
     $schema->labelColumnName = "Message";
     $schema->addIndex(new Index("EntryDate", Index::INDEX));
     $schema->addIndex(new Index("Category", Index::INDEX));
     return $schema;
 }