Skip to content

modify schema primary keys to be nullable+defaulted

Kevin Morris requested to merge kevr/aurweb:pu_pk_nullable_defaults into pu

This fixes SQLAlchemy warnings related to primary keys not having an auto_increment or nullable.

We've done this by making all foreign primary keys nullable.

In ApiRateLimit's case, we can set a default str to act as a null, which seems a bit more sensible.

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports

Loading