mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
update some naming conventions
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user