Require the latest DB version

This commit is contained in:
Andrew Ruthven 2024-04-30 20:38:38 +12:00
parent 0c2bb61891
commit aa35bc6e6d

View File

@ -326,7 +326,7 @@ $_SERVER['SERVER_NAME'] = $c->domain_name;
require_once('AwlQuery.php');
$c->want_dbversion = array(1,2,9);
$c->want_dbversion = array(1,3,6);
$c->schema_version = 0;
$qry = new AwlQuery( 'SELECT schema_major, schema_minor, schema_patch FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;' );
if ( $qry->Exec('always',__LINE__,__FILE__) && $row = $qry->Fetch() ) {