wp_access_tokens
StaticStores access tokens for authentication or API access.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| user_id | TEXT | NO |
| provider_id | TEXT | NO |
| issued_at | DATETIME | NO |
| access_token | TEXT | NO |
| token_type | TEXT | NO |
| expires_in | INT | YES |
| refresh_token | TEXT | YES |
| scope | TEXT | NO |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS access_tokens ( user_id TEXT NOT NULL, provider_id TEXT NOT NULL, issued_at DATETIME NOT NULL, access_token TEXT NOT NULL, token_type TEXT NOT NULL, expires_in INT, refresh_token TEXT, scope TEXT NOT NULL )');
Safe to delete?
If you have uninstalled OnPay.io for WooCommerce, 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_access_tokens`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.