Automator_DB::activation()
The code that runs during plugin activation.
Description Description
Update DB code to use InnoDB Engine instead of MyISAM. Indexes updated
Source Source
File: src/core/class-automator-db.php
public function activation() { $db_version = get_option( 'uap_database_version', null ); if ( null !== $db_version && (string) AUTOMATOR_DATABASE_VERSION === (string) $db_version ) { // bail. No db upgrade needed! return; } do_action( 'automator_activation_before' ); self::create_tables(); do_action( 'automator_activation_after' ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |