Element_Setting_Manager::add_database_table()

Adds the database table.

Description

Source

File: src/db-objects/element-settings/element-setting-manager.php

	protected function add_database_table() {
		$this->db()->add_table( $this->table_name, array(
			"id int(11) unsigned NOT NULL auto_increment",
			"element_id int(11) unsigned NOT NULL",
			"name text NOT NULL",
			"value text NOT NULL",
			"PRIMARY KEY  (id)",
			"KEY element_id (element_id)",
		) );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.