def METHOD_NAME(schema_editor, table, field_names):
    table_name = f"database_table_{table.id}"
    index_name = _django_index_name(table, field_names)
    field_names_sql = ""
    for index, field_name in enumerate(field_names):
        comma = ", " if index < len(field_names) - 1 else ""
        field_names_sql += f'"{field_name}"{comma}'
    schema_editor.execute(
        (
            f"CREATE INDEX CONCURRENTLY IF NOT EXISTS "
            f'"{index_name}" ON "{table_name}"({field_names_sql})'
        )
    )