public Table createTable(String name, Schema schema, int[] indexedColumns) throws IOException {
		Table table;
		synchronized (this) {
			if (tables.containsKey(name)) {
				throw new IOException("Table already exists: " + name);
			}
			checkTransaction();
			table = new Table(this, masterTable.createTableRecord(name, schema, -1));
			tables.put(name, table);
			if (indexedColumns != null) {
				for (int indexedColumn : indexedColumns) {
					IndexTable.createIndexTable(table, indexedColumn);
				}
			}
		}
		notifyTableAdded(table);
		return table;
	}
Creates a new table with the given name and schema.
Create secondary indexes as specified by the array of column indexes.
@param name table name
@param schema table schema
@param indexedColumns array of column indices which should have an index associated with them
@return new table instance
@throws IOException if IO error occurs during table creation
Ghidra/Framework/DB/src/main/java/db/DBHandle.java