wp_rp_sessions

Static

Stores session data for tracking user or visitor state.

Column Definitions

ColumnTypeNullable
🔑session_idBIGINT UNSIGNEDNO
session_keychar(32)NO
session_valuelongtextNO
session_expiryBIGINT UNSIGNEDNO
restaurantpress_term_idbigint(20)NO
meta_keyvarchar(255)YES
meta_valuelongtextYES

CREATE TABLE Statement

CREATE TABLE wp_rp_sessions ( session_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, session_key char(32) NOT NULL, session_value longtext NOT NULL, session_expiry BIGINT UNSIGNED NOT NULL, PRIMARY KEY (session_key), UNIQUE KEY session_id (session_id) ) $charset_collate; "; /** * Term meta is only needed for old installs and is now @deprecated by WordPress term meta. */ if ( ! function_exists( 'get_term_meta' ) ) { $tables .= " CREATE TABLE wp_restaurantpress_termmeta ( meta_id bigint(20) NOT NULL auto_increment, restaurantpress_term_id bigint(20) NOT NULL, meta_key varchar(255) default NULL, meta_value longtext NULL, PRIMARY KEY (meta_id), KEY restaurantpress_term_id (restaurantpress_term_id), KEY meta_key (meta_key(32)) ) $charset_collate; "; } return $tables; } /** * Return a list of RestaurantPress tables. Used to make sure all RP tables are dropped when uninstalling the plugin * in a single site or multi site environment. * * @return array RP tables. */ public static function get_tables() { global $wpdb; $tables = array( "wp_rp_sessions", );

Safe to delete?

If you have uninstalled RestaurantPress, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_rp_sessions`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from RestaurantPress