Re: [sqlalchemy] Updating a Table after changing class based on Declarative in PostgreSQL

2010-08-16 Thread Conor
On 08/15/2010 11:36 AM, mclovin wrote: I am new to SQL and SQLalchemy, but say I have a class like this: class User(Base): __tablename__ = users id = Column(Integer, primary_key=True) name = Column(String, unique=True) join = Column(DateTime) infractions

[sqlalchemy] Updating a Table after changing class based on Declarative in PostgreSQL

2010-08-15 Thread mclovin
I am new to SQL and SQLalchemy, but say I have a class like this: class User(Base): __tablename__ = users id = Column(Integer, primary_key=True) name = Column(String, unique=True) join = Column(DateTime) infractions =Column(Integer) posts = Column(Integer) def