Skip to content
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

DM-43097: Add autoincrement=false to some columns #204

Merged
merged 1 commit into from
Apr 15, 2024

Commits on Apr 12, 2024

  1. Add autoincrement=false to some columns (DM-43097)

    Columns which are primary keys by default have autioncrement=auto
    in sqlalchemy which for single-column PK enables autoincrement.
    This does no big harm for APDB schema but creates unnecessary
    sequences in postgres. To avoid those extra sequences I mark all
    integer PK columns as autoincrement=false.
    andy-slac authored and JeremyMcCormick committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    44afcc0 View commit details
    Browse the repository at this point in the history