Re: [sqlalchemy] Mandatory fields in tables referencing each other

2013-01-30 Thread Matteo
Alright, many thanks. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@goog

Re: [sqlalchemy] Mandatory fields in tables referencing each other

2013-01-30 Thread Michael Bayer
On Jan 30, 2013, at 5:00 AM, Matteo wrote: > Hello everybody, > > I'm currently using PostgreSQL 8.4.9 and SQLAlchemy 0.7.9, and there's an > issue I just can't seem to solve. > There are 2 tables, User and People. The idea behind this is to have User's > "people_id" column point to that user'

[sqlalchemy] Mandatory fields in tables referencing each other

2013-01-30 Thread Matteo
Hello everybody, I'm currently using PostgreSQL 8.4.9 and SQLAlchemy 0.7.9, and there's an issue I just can't seem to solve. There are 2 tables, User and People. The idea behind this is to have User's "people_id" column point to that user's personal data, and People's "user_id" point to the use