wp_aryabyte_otp_login_codes

Static

A logging table that records activity, events, or audit history.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20)NO
phoneVARCHAR(15)NO
code_hashVARCHAR(64)NO
created_atDATETIMENO
expires_atDATETIMENO
is_usedTINYINT(1)NO
attemptsTINYINT(3)NO
ip_addressVARCHAR(45)NO
identifierVARCHAR(50)NO
typeVARCHAR(20)NO
actionVARCHAR(20)NO
created_atDATETIMENO

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_aryabyte_otp_login_codes ( id BIGINT(20) NOT NULL AUTO_INCREMENT, phone VARCHAR(15) NOT NULL, code_hash VARCHAR(64) NOT NULL, created_at DATETIME NOT NULL, expires_at DATETIME NOT NULL, is_used TINYINT(1) NOT NULL DEFAULT 0, attempts TINYINT(3) NOT NULL DEFAULT 0, ip_address VARCHAR(45) NOT NULL DEFAULT '', PRIMARY KEY (id), KEY phone (phone), KEY expires_at (expires_at) ) {$charset_collate};"; // جدول rate limiting $sql_rate = "CREATE TABLE IF NOT EXISTS wp_aryabyte_otp_login_rate_limits ( id BIGINT(20) NOT NULL AUTO_INCREMENT, identifier VARCHAR(50) NOT NULL, type VARCHAR(20) NOT NULL, action VARCHAR(20) NOT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY identifier (identifier), KEY created_at (created_at) ) {$charset_collate};"; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; dbDelta( $sql_codes );

Safe to delete?

If you have uninstalled ورود و عضویت پیامکی آریابایت, 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_aryabyte_otp_login_codes`;

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

Other tables from ورود و عضویت پیامکی آریابایت