The function can not create a table on MariaDB server
I am not sure why you are creating a UNIQUE constraint for your “ID”, which can be a primary key. Also, please note that the dbDelta fails in certain versions of MariaDB when you create a table with a Unique Key Index or a Composite Key or any other indexes except the Primary Key. The … Read more