We're updating the issue view to help you get more done. 

WordPress database error when upgrading

Description

I get the following error messages after installing from stable and then changing to master:

WordPress database error: [Incorrect table definition; there can be only one auto column and it must be defined as a key]
ALTER TABLE wp_h5p_tmpfiles ADD COLUMN id INT UNSIGNED NOT NULL AUTO_INCREMENT

WordPress database error: [Key column 'id' doesn't exist in table]
ALTER TABLE wp_h5p_tmpfiles ADD PRIMARY KEY (`id`)

Environment

None

Acceptance Criteria

Fix WordPress upgrade path. No error messages when upgrading!

Status

Assignee

Frode Petterson

Reporter

Frode Petterson

Labels

Funding

None

Code reviewer

Thomas Marstrander

Released

None

Time Tracking

2h

Fix versions

Priority

High