public ForeignKey getForeignKey(String table, String column) throws SQLException {
        List<ForeignKey> foreignKeys = this.foreignKeys();
        for (ForeignKey fk : foreignKeys) {
            if (fk.sourceColumn.equals(column) && fk.sourceTable.equals(table)) {
                return fk;
            }
        }
        return null;
    }