Example #1
0
 /**
  * Database schema setup
  *
  * We keep a moderation log table
  *
  * @see Schema
  * @see ColumnDef
  *
  * @return boolean hook value; true means continue processing, false means stop.
  */
 function onCheckSchema()
 {
     $schema = Schema::get();
     $schema->ensureTable('mod_log', ModLog::schemaDef());
     return true;
 }