Unverified Commit 54c46ac9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

database: has-current-schema: check IRIS version

parent 5879d667
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1465,7 +1465,10 @@ sub run {
		migrate_db($db);
	}
	elsif ( $command eq 'has-current-schema' ) {
		if ( get_schema_version($db) == @migrations ) {
		if (    get_schema_version($db) == @migrations
			and get_schema_version( $db, 'iris' ) eq
			$Travel::Status::DE::IRIS::Stations::VERSION )
		{
			say "yes";
		}
		else {