Only add the constraint if we need to. Catch an exception if we don't.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 7 Aug 2014 21:29:45 +0000 (16:29 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 7 Aug 2014 21:29:45 +0000 (16:29 -0500)
commite6288a68e1d08538e40bf88ba8bcf3ac242decda
tree739f98e37c200fe6432e317cdf2641c4b93f0b67
parent3a8d0e145ee2de7a72693789f66cdbf6b5b53b30
Only add the constraint if we need to.  Catch an exception if we don't.

Also, updating the comment about sqlite being crazy :)
mediagoblin/db/migrations.py