20260323234822_events.ts · part 1
Full reference2 text occurrences from packages/core/src/database/migration/20260323234822_events.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
CREATE TABLE event sequence ( aggregate id text PRIMARY KEY, seq integer N
Source: packages/core/src/database/migration/20260323234822_events.ts, characters 203–345, SHA-256 f29353535409a5ba.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: CREATE TABLE 'event_sequence' ( 'aggregate_id' text PRIMARY KEY, 'seq' integer NOT NULL );
CREATE TABLE `event_sequence` (
`aggregate_id` text PRIMARY KEY,
`seq` integer NOT NULL
);
CREATE TABLE event ( id text PRIMARY KEY, aggregate id text NOT NULL, seq
Source: packages/core/src/database/migration/20260323234822_events.ts, characters 367–776, SHA-256 4c5c546cac5078dc.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: CREATE TABLE 'event' ( 'id' text PRIMARY KEY, 'aggregate_id' text NOT NULL, 'seq' integer NOT NULL, 'type' text NOT NULL, 'data' text NOT NULL, CONSTRAINT 'fk_event_aggreg…
CREATE TABLE `event` (
`id` text PRIMARY KEY,
`aggregate_id` text NOT NULL,
`seq` integer NOT NULL,
`type` text NOT NULL,
`data` text NOT NULL,
CONSTRAINT `fk_event_aggregate_id_event_sequence_aggregate_id_fk` FOREIGN KEY (`aggregate_id`) REFERENCES `event_sequence`(`aggregate_id`) ON DELETE CASCADE
);