update some naming conventions

This commit is contained in:
Devin Zuczek
2026-06-30 13:03:40 -04:00
parent b7aab05a92
commit 8b42c23764
27 changed files with 71 additions and 64 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* Account storage on the shared `rec-rooms` D1 database. Each account is a single
* Account storage on the shared `recflare` D1 database. Each account is a single
* JSON blob in the `data` column; queryable fields (AccountId, Username) are
* SQLite generated (virtual) columns extracted from that JSON and indexed —
* the same JSON-blob pattern the `rooms` worker uses.
+6 -4
View File
@@ -4,13 +4,15 @@
"main": "src/accounts.app.ts",
"compatibility_date": "2025-09-20",
"compatibility_flags": ["nodejs_compat"],
// Shared D1 database. The `accounts` table schema/migrations are owned by the
// `auth` worker; this worker binds it read/write to look up and create accounts.
// Shared `recflare` D1 database. The `accounts` table schema/migrations are owned
// by the `auth` worker; this worker binds it read/write to look up and create
// accounts. The "local" placeholder is replaced with the real id from RECFLARE_D1
// (see .env) at deploy time.
"d1_databases": [
{
"binding": "DB",
"database_name": "rec-rooms",
"database_id": "d44083e1-5bfe-4467-aa9a-f13c5c2496d5"
"database_name": "recflare",
"database_id": "local"
}
],
"logpush": false,