Ahah, got it. I added a primary key to monthlyusage and now it works. 
Thanks!

On Friday, November 1, 2013 12:44:10 AM UTC-4, Michael Bayer wrote:
>
> I don’t see a primary key on your monthlyusage table, which is where the 
> issue is occurring, so it depends on which col is the PK.   typically the 
> pk would be a composite of the company_id and domain_id columns.
>
>
> On Oct 31, 2013, at 10:20 PM, thinkwel...@gmail.com <javascript:> wrote:
>
> <http://stackoverflow.com/questions/19716518/sqlalchemy-many-to-many-table-with-multiple-foreign-key-entires#>
>  
>   
> I'm new with sqlalchemy and I want to do this as simply as possible, yet 
> correctly. I want to track domain use across multiple companies on a 
> monthly basis, so I set up the following tables:
>
>
>

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to