WordPress register_activation_hook table creation not working
The SQL for creating tables in dbDelta() has very specific requirements. From the codex: You must put each field on its own line in your SQL statement. You must have two spaces between the words PRIMARY KEY and the definition of your primary key. You must use the key word KEY rather than its synonym … Read more