-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add SmallAutoField support #84
Comments
CREATE TABLE "smallauto_country" ("id" smallserial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL); However, it looks like cockroachdb uses CREATE TABLE "smallauto_city" ("id" bigserial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL, "country_id" smallint NULL); |
I wonder if we should change the FWIW, there also is a cluster setting called |
I'm guessing that Django's |
Django 3.0 adds support for SmallAutoField, however, cockroachdb's
unique_rowid()
generates 8-byte values that are too large forint2
(2-byte). I'm not sure how to proceed.Test failure:
The text was updated successfully, but these errors were encountered: