/** * Creates a new select query which includes all fields in the migrations * table plus a `id` field which is a combination of the timestamp and the * description * * @return Database_Query_Builder_Select */ protected function _select() { $group = $this->_db->quote_column('group'); $timestamp = $this->_db->quote_column('timestamp'); $id = $this->_db->quote_column('id'); $colon = $this->_db->quote(':'); return DB::select('*')->from($this->_table); }