I'm trying to update my D9 dev site database using my production database, but it keeps erroring out when it reaches to ALTER table section in the database.
This is the ERROR 1068 (42000) at line 37370: Multiple primary key defined.
Error right when it reaches:
ALTER TABLE ban_ip
ADD PRIMARY KEY (iid
),
ADD KEY ip
(ip
)
I'm using:
- PHP8.1.23
- MYSQL 8.0.32
- Drupal 9
Never had this issue until last week. Does anyone have any thoughts on this?