peppa/packages/db/migrations/0017_lowly_ghost_rider.sql
Асель 3159e888d2 PEP-90: sign in and register with Google (OAuth code + PKCE), link with eGov in Settings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 12:40:26 +05:00

4 lines
284 B
SQL

ALTER TABLE `users` ADD `google_sub` text;--> statement-breakpoint
ALTER TABLE `users` ADD `google_email` text;--> statement-breakpoint
ALTER TABLE `users` ADD `google_linked_at` integer;--> statement-breakpoint
CREATE UNIQUE INDEX `users_google_sub_unique` ON `users` (`google_sub`);