Generate it in your app at insert time? Do you want to use it as the primary key column?
Generate it in your app at insert time? Do you want to use it as the primary key column?
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.


worker_idsequence_idsequence_idsequence_idsnowflake_id(worker_id)publishimport { deploy } from "wrangler";keep-vars--kv--r2