NF_Database_Migrations_ActionMeta

The Ninja Forms NF Database Migrations ActionMeta class.

Defined (1)

The class is defined in the following location(s).

/includes/Database/Migrations/ActionMeta.php  
  1. class NF_Database_Migrations_ActionMeta extends NF_Abstracts_Migration 
  2. public function __construct() 
  3. parent::__construct( 
  4. 'nf3_action_meta',  
  5. 'nf_migration_create_table_action_meta' 
  6. ); 
  7.  
  8. public function run() 
  9. $query = "CREATE TABLE IF NOT EXISTS $this->table_name ( 
  10. `id` int NOT NULL AUTO_INCREMENT,  
  11. `parent_id` int NOT NULL,  
  12. `key` longtext NOT NULL,  
  13. `value` longtext,  
  14. UNIQUE KEY (`id`) 
  15. ) $this->charset_collate;"; 
  16.  
  17. dbDelta( $query ); 
  18.