tickets: 84
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
84 | 2005-07-19 13:06:51 | 2006-10-16 15:33:56 | 2022-03-06 03:19:40.498117 | Unreviewed | closed | Database layer (models, ORM) | defect | major | fixed | Foreign keys don't work in MySQL | Django generates: post_id mediumint(9) unsigned auto_increment NOT NULL REFERENCES posts_posts (slug) This doesn't work. In MySQL, only one column can have auto_increment, and that same column has to be the PRIMARY KEY. I think there should be a separate DATATYPE for ForeignKeys (it seems to just reuse the AutoField). | adrian | Manuzhai | 0 | 0 | 0 | 0 | 0 | 0 |