Update Guide

Release 2.4

What’s New

How to Update

Route::get('update', function () {
	$updateSqlFile = storage_path('database/updates/from-2.3-to-2.4/update.sql');
    if (file_exists($updateSqlFile)) {
        $sql = file_get_contents($updateSqlFile);
        $sql = str_replace('<<prefix>>', \DB::getTablePrefix(), $sql);
        \DB::unprepared($sql);
    }

	return 'Success';
});