
wrangler d1 info dbname ?
CREATE TABLE IF NOT EXISTS to avoid the error. it sounds like there's something wrong with your setup if you already have tables and are trying to run migrations to create them, though.CREATE INDEX or similar?An error is still returned if the table cannot be created because of an existing index, even if the "IF NOT EXISTS" clause is specified.
wrangler d1 info dbnameCREATE TABLE IF NOT EXISTSCREATE INDEX