summaryrefslogtreecommitdiffstats
path: root/doc/template/gloss-permalinks.xsl
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-09-02 17:25:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 16:50:59 +0100
commit12f6278d56d7dec57308adc17411802f15d395d7 (patch)
treed9220965d93b839bff2bbff1a54bdf3571c16453 /doc/template/gloss-permalinks.xsl
parent9e970bd7a3e8a7d6ec26265b2e5863624db8a77f (diff)
downloadopenembedded-core-contrib-12f6278d56d7dec57308adc17411802f15d395d7.tar.gz
toaster: Make 0021 migration compatible with MySQL
Two issues prevent this migration from working correctly with a MySQL back-end: 1. MySQL won't allow a default value to be set for an AutoField, which is what the migration tries to do for project_id ("ValueError: The database backend does not accept 0 as a value for AutoField.") 2. When migrations are applied to a MySQL back-end, Django (via South) attempts a dry run of the migration first: it applies the forward migration then rolls it back. However, this migration raises an exception on roll back, which causes the whole series of migrations to fail. This commit fixes both issues. [YOCTO #7932] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc/template/gloss-permalinks.xsl')
0 files changed, 0 insertions, 0 deletions