From e6ea9c3931636f5ebfb7877da18af28b221cdc58 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 14 Jul 2010 15:30:39 -0700 Subject: Bug 578739: Instead of removing REFERENCES from _bz_real_schema and then populating FKs from _bz_schema at the end of checksetup, store REFERENCES in _bz_real_schema with a special "created => 0" key that tells us that we still need to create the FK. r=mkanat, a=mkanat (module owner) --- template/en/default/global/code-error.html.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 849008adb..e20913a0e 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -95,7 +95,12 @@ [% ELSIF error == "chart_file_open_fail" %] Unable to open the chart datafile [% filename FILTER html %]. - + + [% ELSIF error == "column_alter_nonexistent_fk" %] + You attempted to modify the foreign key for + [%+ table FILTER html %].[% column FILTER html %], but there is + no foreign key on that column. + [% ELSIF error == "column_not_null_without_default" %] Failed adding the column [% name FILTER html %]: You cannot add a NOT NULL column with no default to an existing table -- cgit v1.2.3-24-g4f1b