that worked..i feel foolish. Probably still should be considered a bug with D1, but the workaround w
that worked..i feel foolish. Probably still should be considered a bug with D1, but the workaround worked!
The request is malformed: failed to decode idhttps://api.cloudflare.com/client/v4/accounts/account_id/d1/database/db_id/query
{
"params": [],
"sql": "DROP TABLE IF EXISTS comments; CREATE TABLE IF NOT EXISTS comments ( id integer PRIMARY KEY AUTOINCREMENT, author text NOT NULL, body text NOT NULL, post_slug text NOT NULL ); CREATE INDEX idx_comments_post_slug ON comments (post_slug);"
}CREATE TABLE IF NOT EXISTS comments ( id integer PRIMARY KEY, author text NOT NULL, body text NOT NULL, post_slug text NOT NULL ); CREATE INDEX idx_comments_post_slug ON comments (post_slug)