mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-27 07:58:55 -07:00
[studio] add missing migration script
This commit is contained in:
@@ -6,14 +6,17 @@
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
// Shared `recflare` D1. Room co-owners come off the `room` blob and who is in a
|
||||
// subroom comes off `presence` (other workers own those tables). This worker
|
||||
// owns the cloud-build tables, migrated from `migrations/`. The "local"
|
||||
// placeholder is replaced with RECFLARE_D1 at deploy time.
|
||||
// owns the cloud-build tables, migrated from `migrations/`; its own
|
||||
// migrations_table keeps that history separate from the other workers'
|
||||
// migrations on the shared database. The "local" placeholder is replaced with
|
||||
// RECFLARE_D1 at deploy time.
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_name": "recflare",
|
||||
"database_id": "local",
|
||||
"migrations_dir": "migrations"
|
||||
"migrations_dir": "migrations",
|
||||
"migrations_table": "d1_migrations_studio"
|
||||
}
|
||||
],
|
||||
// Shared `recflare-cdn` R2 bucket (also bound by `rooms` / `cdn` / `storage`).
|
||||
|
||||
Reference in New Issue
Block a user