modified google-oauth-migration.md
This commit is contained in:
@@ -716,9 +716,17 @@ Suggested messages, matching the repo's terse existing style:
|
|||||||
- `docs: update AGENTS.md for the Google OAuth migration`
|
- `docs: update AGENTS.md for the Google OAuth migration`
|
||||||
|
|
||||||
**Restore path for `ctp_blogr.sqlite`** (established in todo 2, required before todo 6):
|
**Restore path for `ctp_blogr.sqlite`** (established in todo 2, required before todo 6):
|
||||||
`<backup path from todo 2>` restores the pre-migration database, and
|
|
||||||
`git checkout -- ctp_blogr.sqlite` restores the committed version. The database diff is a real
|
- Branch: `feat/google-oauth`, created from `master` at `3dcb88e`. No commits, no pushes.
|
||||||
tracked change and must be inspected before any commit.
|
- Verified backup (outside the working tree):
|
||||||
|
`/var/folders/cm/x5cx1bfd749gxd1x_zt6bvp40000gn/T/opencode/ctp_blogr-backup-20261005-202240.sqlite`
|
||||||
|
— `PRAGMA integrity_check` returns `ok`.
|
||||||
|
- Restore the pre-migration database:
|
||||||
|
`cp /var/folders/cm/x5cx1bfd749gxd1x_zt6bvp40000gn/T/opencode/ctp_blogr-backup-20261005-202240.sqlite ctp_blogr.sqlite`
|
||||||
|
- Restore the committed database: `git checkout -- ctp_blogr.sqlite`
|
||||||
|
- Abort the whole migration: `git checkout master`
|
||||||
|
|
||||||
|
The database diff is a real tracked change and must be inspected before any commit.
|
||||||
|
|
||||||
## Success criteria
|
## Success criteria
|
||||||
- Signing in with `phuoc@caotek.fr` yields a session whose `authenticated_userid` is that email
|
- Signing in with `phuoc@caotek.fr` yields a session whose `authenticated_userid` is that email
|
||||||
|
|||||||
Reference in New Issue
Block a user