wardrobecms / wardrobe-archived

A minimal blogging application
http://wardrobecms.com/
MIT License
704 stars 111 forks source link

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 10 years ago

Albert221 commented 10 years ago

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

kasparsd commented 9 years ago

https://github.com/wardrobecms/core/issues/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