I am creating an image blog software. As of right now the table for entries has the following columns:
id, userid, title, date, imageurl, caption, alttext
and entries are displayed by the id. So for now they go in order they are added to the database.
My question is: Can you modify an auto-increment mysql column? Say the user wants to add something between entries with id 2 and 3. Can I move 3 down to 4 and squeeze one in? Or should I add a new column for display order, which will not be auto-incrementing?
id, userid, title, date, imageurl, caption, alttext
and entries are displayed by the id. So for now they go in order they are added to the database.
My question is: Can you modify an auto-increment mysql column? Say the user wants to add something between entries with id 2 and 3. Can I move 3 down to 4 and squeeze one in? Or should I add a new column for display order, which will not be auto-incrementing?