Add a check when the plugin is activated to see if the data(column/table) already exists in db or not ?
If the data aldready exists then skip the db part and just mark the plugin as active.
Related Posts:
- The plugin generated x characters of unexpected output, $wpdb not defined
- How to properly insert data into custom table via plugin
- How does WordPress handle MySQL row lock errors?
- Can I explicitly specify ENGINE=InnoDB in WordPress?
- Bad Request (Invalid Hostname) on working server, database problem
- Create custom column in post table in wordpress
- Should I global $wpdb outside of any of my plugin’s functions scope?
- Changing BIGINT to INT
- WordPress register_activation_hook table creation not working
- wordpress in nginx docker container connected to php:8-fpm container and mariadb container isn’t creating any tables on plugin activation
- greatest() function returns undefined property
- How to write one comment and publish on every post using database or plugin?
- Default Plugin Settings Not Writing to Database
- How to determine what is generating large amount of database queries?
- Help With MySQL to WPDB Query Conversion
- DROP TABLE with uninstall hook not working
- How to check if tables in WordPress still exists after activations
- How can I perform high-level database merging for WordPress within continues delivery?
- WordPress Backend HA (Automatic failover)
- Automatic switch to backup database on fail
- Migrating to WordPress Recipe Plugin and Some SQL Issues
- Create a table with wordpress plugin boilerplate
- Why this function not working for install database on plugin activation
- Better ads plugin has 500.000 entries in wp_postmeta
- How to create multiple database tables on plugin activation?
- Can I create a table on my DB without creating a plugin?
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- dbDelta not adding additional columns in plugin database update
- Always get creating a new table with foreign key
- How to do database for download stats?
- DB Query not working in Plugin
- External wpdb connections in different plugins on single page
- Creating a search form and displaying results
- WordPress plugin: efficient way to store large data
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Can’t create tables with my plugin
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- add_action for publish_post doesn’t work
- Some error in mysql script ? Can’t working to create table
- What database state changes happen after a post is manually “updated” with no changes?
- create pages automatically and dynamically in wordPress
- Cant create table on plugin activation
- $wpdb->delete not working for me
- Performing CRUD operations on front end in wordpress
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- Store GravityForm data in phpmyadmin (mysql)
- Moving a few select DB tables to a new WP instance
- WordPress database problem wp_posts, primary key
- HyperDB failover Delay
- Need help for creating custom table on wordpress
- Show a table from data submitted by a form from a user
- Write mysql credentials in plugin
- How can I delete the options from DB when the plugin is deleted?
- Share or sync user table data with another user table
- Accessing data from Google Cloud Datastore in WordPress site
- Login issue in WordPress
- Using Filters to modify contect – DB query results alwats appear fist
- Cannot modify header information – headers already sent during plugin activation
- How to map data on CSV to web pages?
- PHP message: WordPress database error Deadlock found when trying to get lock
- How can I store user preferences in WordPress and retreive them later?
- Enable plugins that are “not supported”
- Delete user meta based on key value that is an array
- Many to many relationship for variable products
- errno: 150 “Foreign key constraint is incorrectly formed” [closed]
- Is it a good practice to use wordpress database to store pages contents which loading to page dynamically?
- get/show Last ID
- Database error when user logs in
- one admin for 2 wordpress websites
- using wordpress login details for other website / application / forum?
- Where do the section input fields values are stored in database
- database – multiple wordpress installations using same database – can they share plugin settings?
- how to create database to use it in wordpress website?
- My plugin can’t see my files
- Resetting AUTO_INCREMENT primary key
- how can i get records from wp_postmeta table using particular meta_key in database?
- How to create a custom page for unrelated database?
- User content database [closed]
- Error Copying Directory On Plugin Activation
- WordPress hook source
- Re-writing MySQl query for execute faster
- Adding list of Indexes in wordpress document
- API calls on plugin activation or init?
- Create Database Tables on Plugin Activation hook
- how to create table during plugin installation in side a class
- Plugin does not create a custom table upon activation
- Include plugin form in the home page
- Help with sorting and storing data on WordPress
- Insert double entry in DB
- How to save information related to post in database?
- Create user assessment and use results in sql query
- Is saving multiple options or saving multiple items in one option better?
- WordPress custom posttype meta values doesnot save
- Slow WordPress admin panel with a total query time of 1664ms
- RSS Feed has no Items (Possible Plugins Conflict)
- A plugin is giving me “You do not have sufficient permissions to access this page.” error
- Different plugins activated online and offline
- Linking Plugin Files to WP
- Problems with installing and deleting plugins