sso-core/migrations/0002_whole_vivisector.sql
2024-06-02 20:08:56 +03:00

3 lines
327 B
SQL

ALTER TABLE `user_token` MODIFY COLUMN `type` enum('generic','activation','deactivation','password','login','gdpr','totp','public_key','invite','recovery') NOT NULL;--> statement-breakpoint
ALTER TABLE `privilege` ADD `automatic` tinyint DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE `user_token` ADD `metadata` text;