summaryrefslogtreecommitdiffstats
path: root/application/migrations/012_add_constraints.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/migrations/012_add_constraints.php')
-rw-r--r--application/migrations/012_add_constraints.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/migrations/012_add_constraints.php b/application/migrations/012_add_constraints.php
index 1ed4abf08..f298ceb5f 100644
--- a/application/migrations/012_add_constraints.php
+++ b/application/migrations/012_add_constraints.php
@@ -29,6 +29,6 @@ class Migration_add_constraints extends CI_Migration {
public function down()
{
- show_error("downgrade not supported");
+ throw new \exceptions\ApiException("migration/downgrade-not-supported", "downgrade not supported");
}
}