[api] handle adding constrainti errors as migration error and abort. Fix migration...
authorAdrian Schröter <adrian@suse.de>
Wed, 13 Jul 2011 08:39:25 +0000 (10:39 +0200)
committerAdrian Schröter <adrian@suse.de>
Wed, 13 Jul 2011 08:40:19 +0000 (10:40 +0200)
commit57b414afc6e772086781b7e205c387a0e7ad802c
treedf09ba392b22c7c39ca7952eca8ae9082cc1b65f
parentce2cff15f9ec6386bdc707c81a9564e346825cb9
[api] handle adding constrainti errors as migration error and abort. Fix migration rollback
src/api/db/migrate/20110703001200_add_sql_constraints.rb