Update_485

Extends\LimeSurvey\Helpers\Update\DatabaseUpdateBase

Add missing noTablesOnMobile.css to vanilla configs again. It was done on 428, but the bug on LsDefaultDataSets remained causing problems on new installations.

See more info in README file in same folder.

package

Default

Methods

__construct

__construct(\CDbConnection $connection,string $options)
inherited

Arguments

$connection

\CDbConnection

$options

string

Specific database options like ENGINE=INNODB etc

Get db version number based on class name, e.g. 123 for Update_123

getVersion(): integer
inherited

Response

integer

Runs up() wrapped in a transaction.

safeUp(): void
inherited

Will rollback transaction and re-throw exception at failure.

Throws
\Throwable

This is the function that must be implemented by the child classes.

up()
inheritedabstract

Sets DBVersion in settings global to $this->newVersion Last thing that happens before transaction commit in every update.

updateVersion()
inherited

Properties

db

db :\CDbConnection
inherited
var

Type(s)

\CDbConnection

newVersion

newVersion :integer
inherited
var

Type(s)

integer

options

options :string
inherited
var

Type(s)

string