
Worker ID with DatabaseId? timestamp, worker_id and sequence_id.sequence_id is autoincrement and reset to 0 when it touch the highest value 4096 (12 bits).snowflake_id(worker_id)publish and CLI flagsdeploy nowdeploy API similar to https://developers.cloudflare.com/workers/wrangler/api/#unstable_dev so you can just do stuff like import { deploy } from "wrangler"; and do it in JS but currently the CLI is the best waykeep-vars is only for [vars]deploy had --kv/--r2/etc but it doesn't seem tosequence_id.
[[d1_databases]]
binding = "clickDB" # i.e. available in your Worker on env.clickDB
database_name = "click-db"
database_id = "XXXXXXXX"Worker IDDatabaseIdworker_idsequence_idsequence_idsequence_id4096snowflake_id(worker_id)publishimport { deploy } from "wrangler";keep-vars--kv--r2