DROP COLUMN supported? It's giving me a not authorized... 
ALTER TABLE did work already 
e68dccd4-7bf7-4860-ba18-17978966ec10

6/12/23, 3:05 PM


success: true on UPDATE
is that on purpose?

npm i @cloudflare/d1. There are no other projects in the npm registry using @cloudflare/d1.
wrangler, so you shouldn't need to install it for it to workctx.env object. wrangler.toml for Pages, you pass bindings via the CLIexport default {
async fetch(req, env) {
// ...
const result = await env.D1.exec("SELECT * FROM db;");
// ...
}
}export const onRequestGet = ctx => {
const result = await ctx.env.D1.exec("SELECT * FROM db;");
// ...
};[[d1_databases]]
binding = "DataB"
database_name = "thing"
database_id = "dwadwadwad3213dsfasfdaeiu2"DROP COLUMNALTER TABLE <table> DROP COLUMN <column>;
ALTER TABLE <table> DROP <column>;