/** * Database schema setup * * We maintain a table mapping StatusNet notices to Twitter statuses * * @see Schema * @see ColumnDef * * @return boolean hook value; true means continue processing, false means stop. */ function onCheckSchema() { $schema = Schema::get(); // For saving the last-synched status of various timelines // home_timeline, messages (in), messages (out), ... $schema->ensureTable('twitter_synch_status', Twitter_synch_status::schemaDef()); // For storing user-submitted flags on profiles $schema->ensureTable('notice_to_status', Notice_to_status::schemaDef()); return true; }