django-clickhouse-backend
django-clickhouse-backend copied to clipboard
[BUG]
clickhouse dont use ID how i can create django model without ID?
I got the same issue too, when I use this backend with an exists clickhouse table, it got: DB::Exception: There's no column id issue, in fact, all I want is query, I don't need auto create table or update operations.
Django always add an id field to model if you don't specify a primary key. To avoid this issue, just choose a field and add primary_key=True