コード例 #1
0
 /**
  * Database schema setup
  *
  * We maintain a table mapping StatusNet notices to Facebook items
  *
  * @see Schema
  * @see ColumnDef
  *
  * @return boolean hook value; true means continue processing, false means stop.
  */
 function onCheckSchema()
 {
     $schema = Schema::get();
     $schema->ensureTable('notice_to_item', Notice_to_item::schemaDef());
     return true;
 }