     }
     
     /// Returns the entry for a particular table.
-    public func tableNamed(tableName:String) -> SchemaEntry? {
+    public func tableNamed(tableName:String) -> SchemaEntryInfo? {
         for entry in schemaEntries {
             if entry.isTable && entry.name == tableName {
                 return entry

    // MARK:  Indexes
    
    /// All database indexes.
    public var indexes: [SchemaEntry] {
        return schemaEntries.filter { $0.isIndex }
    }
    

    // MARK:  Schema Items
    
    /// The entries in the Schema, each describing a table, index, or other structure.
    public let schemaEntries: [SchemaEntryInfo]
    
    public subscript(entryName:String) -> SchemaEntryInfo? {
        return entryNamed(entryName)
    }
    
    /// Returns the entry with the given name -- table, index, or trigger.
    public func entryNamed(entryName:String) -> SchemaEntryInfo? {
        for entry in schemaEntries {
            if entry.name == entryName {
                return entry
