Okay so the older, 1.0 era upgrade scripts in that directory are also incorrectly named. Ugh.
As for mine, the task now is to get the version numbers straight and make sure the .info file is set correctly for release.
I understand that we are getting ready to cut version "2.0", so the new file name should be something like
/sql/postgresql/upgrade/upgrade-2.0xxx-2.0.sql
Okay, so the question is, what is "xxx" above.
The dotlrn.info file at the head of the dotlrn-2-0 branch says "2.0a3". The latest tarball available at https://openacs.org/projects/dotlrn/download/ is "2.0.0rc1". The CVS tree has many other tags including one for "rc2".
If we want to keep APM happy, we should use the value from the .info file. So...
/sql/postgresql/upgrade/upgrade-2.0a3-2.0.sql
Any objection?