Files
opencode/packages/opencode/migration/20260228200329_account-workspace-id/migration.sql
Dax Raad a5d727e7f9 core: enable workspace-aware configuration and account management commands
Switch from boolean active flag to workspace_id tracking so users can select which workspace context to operate in. Login now automatically selects the first available workspace and stores it on the account record.

Logout command now actually removes account records and supports targeting specific accounts by email. Switch command provides an interactive picker to change active workspace. Workspaces command lists all available workspaces across accounts.

Configuration now loads workspace-specific settings from the server when an active workspace is selected, enabling per-workspace customization of opencode behavior.
2026-03-01 14:21:55 -05:00

2 lines
114 B
SQL

ALTER TABLE `account` ADD `workspace_id` text;--> statement-breakpoint
ALTER TABLE `account` DROP COLUMN `active`;