20260309230000_move_org_to_state.ts · part 1
Full reference3 text occurrences from packages/core/src/database/migration/20260309230000_move_org_to_state.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
ALTER TABLE account state ADD active org id text;
Source: packages/core/src/database/migration/20260309230000_move_org_to_state.ts, characters 214–273, SHA-256 a6a602353c224749.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ALTER TABLE 'account_state' ADD 'active_org_id' text;
ALTER TABLE `account_state` ADD `active_org_id` text;
UPDATE account state SET active org id = (SELECT selected org id FROM acc
Source: packages/core/src/database/migration/20260309230000_move_org_to_state.ts, characters 304–468, SHA-256 bb9713281944ada7.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: UPDATE 'account_state' SET 'active_org_id' = (SELECT 'selected_org_id' FROM 'account' WHERE 'account'.'id' = 'account_state'.'active_account_id');
UPDATE `account_state` SET `active_org_id` = (SELECT `selected_org_id` FROM `account` WHERE `account`.`id` = `account_state`.`active_account_id`);
ALTER TABLE account DROP COLUMN selected org id ;
Source: packages/core/src/database/migration/20260309230000_move_org_to_state.ts, characters 498–556, SHA-256 71b31de2c5c32eb4.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ALTER TABLE 'account' DROP COLUMN 'selected_org_id';
ALTER TABLE `account` DROP COLUMN `selected_org_id`;