52 $updater = DatabaseUpdater::newForDB( $dbw,
true, $this );
54 foreach ( $this->getArgs() as $name ) {
57 $updater->patchPath( $dbw, $name ),
58 $updater->patchPath( $dbw,
"patch-$name.sql" ),
60 foreach ( $files as $file ) {
61 if ( file_exists( $file ) ) {
62 $this->output(
"$file ...\n" );
63 $dbw->sourceFile( $file );
67 $this->error(
"Could not find $name\n" );
69 $this->output(
"done.\n" );