A bit of downtime is no problem at the moment, but if I could avoid it that would be a plus.
A bit of downtime is no problem at the moment, but if I could avoid it that would be a plus.
npx wrangler d1 export dbname --remote --output db.sql so there is a waygetPlatformProxy imported from wrangler, but this doesn't work in production because wrangler depends on node libraries that aren't available in production. I need the database in this context to create user records (they are created by an auth.js prisma adapter)On July 1, 2024, we will deprecate D1 alpha databases. Upon deprecation, alpha databases will reject live SQL queriesI don't personally have any alpha DBs that I use in production anyway, but describing this as a "deprecation" but then completely disabling all queries to it seems to counter eachother a little. This was the first real direct comms I've received about D1 alpha DBs being formally deprecated. cc @Vy
hasn't been actively following discord or places where this deprecation may have been discussedAgree passive outreach not ideal, we would love to keep improving here (maybe something like changelog subscriptions)
On July 1, 2024, we will deprecate D1 alpha databases. Upon deprecation, alpha databases will reject live SQL queries
wrangler d1 info will also tell you. Can take feedback on the UI callout

SELECT *
FROM (
SELECT latest_table_name
FROM table_source
) AS dynamic_table
JOIN table_name ON dynamic_table.value = table_name.table_name;npx wrangler d1 export dbname --remote --output db.sqlgetPlatformProxywrangler d1 info