wp_aistore_favorites

Static

Stores aistore favorites data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20)NO
user_idbigint(20)NO
chapter_idint(11)NO
verse_numberint(11)NO
created_atdatetimeYES
emailvarchar(200)NO
namevarchar(200)YES
subscribed_atdatetimeYES
statusvarchar(20)YES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_aistore_favorites ( id bigint(20) NOT NULL AUTO_INCREMENT, user_id bigint(20) NOT NULL, chapter_id int(11) NOT NULL, verse_number int(11) NOT NULL, created_at datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_user (user_id), KEY idx_user_chapter (user_id, chapter_id) ) $charset_collate;"; // Subscribers table with index on status $sql2 = "CREATE TABLE IF NOT EXISTS wp_aistore_subscribers ( id bigint(20) NOT NULL AUTO_INCREMENT, email varchar(200) NOT NULL, name varchar(200) DEFAULT '', subscribed_at datetime DEFAULT CURRENT_TIMESTAMP, status varchar(20) DEFAULT 'active', PRIMARY KEY (id), UNIQUE KEY email (email), KEY idx_status (status) ) $charset_collate;"; dbDelta( $sql1 );

Safe to delete?

If you have uninstalled Aistore Bhagavad Gita, 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_aistore_favorites`;

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

Other tables from Aistore Bhagavad Gita