W
W
WebDev2017-10-03 15:12:50
MySQL
WebDev, 2017-10-03 15:12:50

Error while adding new field to existing mysql table?

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1001450908680' for key 'PRIMARY' (SQL: alter table `bq_posts` add `type2` varchar(255) null after `updated_at`)

Tell me what's wrong here? I'm trying to add a type2 field to an existing table, but it doesn't work.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question