ACTIONS_TABLE
ACTIONS_TABLE = 'actionscheduler_actions'
Class ActionScheduler_StoreSchema
$schema_version : int
Schema version.
Increment this value to trigger a schema update.
$db_version : string
Schema version stored in database.
$tables : array
Names of tables that will be registered by this class.
update_schema_5_0(string $table, string $db_version) : mixed
Update the actions table schema, allowing datetime fields to be NULL.
This is needed because the NOT NULL constraint causes a conflict with some versions of MySQL configured with sql_mode=NO_ZERO_DATE, which can for instance lead to tables not being created.
Most other schema updates happen via ActionScheduler_Abstract_Schema::update_table(), however that method relies on dbDelta() and this change is not possible when using that function.
string | $table | Name of table being updated. |
string | $db_version | The existing schema version of the table. |