def METHOD_NAME(self, meta, dims=None):
    """Creates a table for storing instances of `meta`."""
    table_name = meta.uri
    if self.table_exists(table_name):
        raise ValueError("Table already exists: %r" % table_name)
    if dims:
        dims = list(dims)
    cols = [
        "uuid char(36) PRIMARY KEY",
        "uri varchar",
        "meta varchar",
        "dims integer[%d]" % meta.ndimensions,
    ]
    for p in meta["properties"]:
        decl = f'"{p.name}" {to_pgtype(p.type)}'
        if len(p.dims):
            decl += "[]" * len(p.dims)
        cols.append(decl)
    q = sql.SQL("CREATE TABLE {} (%s);" % ", ".join(cols)).format(
        sql.Identifier(meta.uri)
    )
    self.cur.execute(q)
    self.conn.commit()