Skip to content
Back

Duplicate Column Error in Appwrite After November 2 Update

  • 1
  • Cloud
OG
3 Dec, 2024, 20:12

After an Appwrite downtime, an error occurs when attempting to add a column (totalOrder) to the database. The error message is: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'totalOrder'.

This error is misleading because the column totalOrder is not present in the database schema or the table

TL;DR
Developers experiencing a duplicate column error 'totalOrder' in Appwrite after November 2 update. The error persists despite the column not existing in the database schema or table. This occurred after an Appwrite downtime. Solution: Confirm with Appwrite support if the column was accidentally created during updates and await further instructions.
OG
3 Dec, 2024, 20:37

@Moderator

D5
3 Dec, 2024, 20:37

Please, avoid pinging all moderators

D5
3 Dec, 2024, 20:38

When did this start happening?

D5
3 Dec, 2024, 20:38

You're using appwrite cloud?

D5
3 Dec, 2024, 20:39

Do you can DM me too the collection and database ID so the team can debug the error faster?

OG
3 Dec, 2024, 20:51

Ok

OG
3 Dec, 2024, 20:52

yes im using appwrite cloud and please check dm i have messaged you the database ID and Project ID

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more