> Suffix-hashing long names like Simon suggests may not be 
backwards-compatible. 

Could you elaborate on that?

Assuming model names > 100 characters never worked wouldn't only 
suffix-hashing model names > 100 characters be backward compatible?

Simon

Le mardi 11 août 2020 à 12:05:46 UTC-4, Shai Berger a écrit :

> AFAIK Postgres, in these cases, simply truncates the name. This means:
>
> 1) Generating models with names longer than 63 characters on postgres
> is fragile. You may find yourself with more than one model trying to
> use the same table name.
>
> 2) Suffix-hashing long names like Simon suggests may not be
> backwards-compatible.
>
> My 2 cents,
> Shai.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/0a0e59ca-c152-418d-bacc-40526ef956fcn%40googlegroups.com.

Reply via email to