You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried migrated 32-bit id field to PostgresShardForeignKey
And got error:
django.db.utils.ProgrammingError: syntax error at or near "DEFAULT"
LINE 1: ...sages_conversation" ALTER COLUMN "id" TYPE bigint DEFAULT ne...
Here is what manage.py sqlmigrate command shows:
ALTERTABLE"messages_messagesending"
ALTER COLUMN "id" TYPE bigint DEFAULT next_sharded_id()
USING "id"::bigint-- What's this for?
DEFAULT next_sharded_id();