[Python] add column to SQLAlchemy Table

Discussão em 'Python' iniciado por Stack, Agosto 8, 2025.

  1. Stack

    Stack Membro Participativo

    I made a table using SQLAlchemy and forgot to add a column. I basically want to do this:

    users.addColumn('user_id', ForeignKey('users.user_id'))


    What's the syntax for this? I couldn't find it in the docs.

    Continue reading...

Compartilhe esta Página