Changes between Initial Version and Version 1 of Ticket #17202, comment 2
- Timestamp:
- Dec 22, 2015, 4:08:21 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17202, comment 2
initial v1 1 1 A similar problem happens with mysql 5.5.28CE on linux where the size is 3x greater than that specified, given the SQL: 2 2 {{{ 3 3 CREATE TABLE `primaryfields` ( 4 4 `fpost` int(11) NOT NULL, … … 12 12 CONSTRAINT `primaryfields_ibfk_1` FOREIGN KEY (`fpost`) REFERENCES `filenames` (`fpost`) 13 13 ) ENGINE=InnoDB DEFAULT CHARSET='''latin1''' | 14 14 }}} 15 15 You get the Python: 16 16 {{{ 17 17 class Primaryfields(models.Model): 18 18 fpost = models.ForeignKey(Filenames, primary_key=True, db_column='fpost') … … 25 25 class Meta: 26 26 db_table = u'primaryfields' 27 }}}