Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

SQLSTATE[HY000]: General error: 1 Cannot add a PRIMARY KEY column (SQL: alter table "tags" add column "id" integer not null primary key autoincrement) #35

Open
Albert221 opened this issue Jul 26, 2014 · 1 comment

Comments

@Albert221
Copy link

whoops there was an error 2014-07-26 12-32-38
I choosed SQLite.

@kasparsd
Copy link

kasparsd commented Jul 8, 2015

wardrobecms/core-archived#95 looks similar:

I believe this is a limitation of SQLite, it doesn't allow adding a PRIMARY KEY column after table has been created

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants