Fixes #1984 undeclared variable usage in CDbMigration