@devdogsuga/devtools 0.1.51-next.551 → 0.1.51-next.553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -127,7 +127,14 @@ How it works, in short:
127
127
  needs `--yes`. It then regenerates the types (and leaves them alone when nothing changed and they are current).
128
128
  On a hosted project, a machine with no record (a second laptop, a deleted `supabase/migrations/`) first
129
129
  restores it from the project's own history table (`migration fetch --db-url`), so the diff is not taken
130
- against an empty database.
130
+ against an empty database. The record belongs to one database (`.devtools/record.json` notes which, and which
131
+ files it has applied): another target's record is set aside and that database's own history is fetched, and a
132
+ migration written but never applied is pending, not applied; it is applied on the next sync, with the `--yes`
133
+ question for drops.
134
+ - **What a member changed.** A column that looks renamed (missing here, an extra of the same type beside it) is
135
+ refused, not recreated empty. A difference in privileges on something that exists is applied as a GRANT of what
136
+ `supabase/schemas` grants and reported; privileges beyond that are not taken away. Functions are named with
137
+ their argument types, and a missing overload is recreated beside the member's own.
131
138
  - **Types are never committed.** `db types` writes them to the path in the config, which is git-ignored.
132
139
  The schema hash covers the sorted schema paths, their LF-normalised contents and the generator version (the
133
140
  pinned CLI, or supadart); CI uploads a `<product>-types-<hash>.tgz` asset to a rolling `generated-types`