when reactivating the plugin, a SQL error occurred due to the attempt to redefine a primary key. The error was specifically caused by the ALTER TABLE statement trying to change the primary key of the "pressidium_cookie_consents" table, which already existed in the database.
We have to check if the pressidium_cookie_consents table exists before attempting to (re)create it.
Initially reported by @mohammad425 on #33:
We have to check if the
pressidium_cookie_consents
table exists before attempting to (re)create it.