CREATE TABLE `edges` (
	`id` integer PRIMARY KEY NOT NULL,
	`public_api_key` text,
	`manifest_hash` text NOT NULL,
	`from` text,
	`to` text NOT NULL,
	`interaction` integer NOT NULL,
	`delay_count_00` integer NOT NULL,
	`delay_count_01` integer NOT NULL,
	`delay_count_02` integer NOT NULL,
	`delay_count_03` integer NOT NULL,
	`delay_count_04` integer NOT NULL,
	`delay_count_05` integer NOT NULL,
	`delay_count_06` integer NOT NULL,
	`delay_count_07` integer NOT NULL,
	`delay_count_08` integer NOT NULL,
	`delay_count_09` integer NOT NULL,
	`delay_count_10` integer NOT NULL,
	`delay_count_11` integer NOT NULL,
	`delay_count_12` integer NOT NULL,
	`delay_count_13` integer NOT NULL,
	`delay_count_14` integer NOT NULL,
	`delay_count_15` integer NOT NULL,
	`delay_count_16` integer NOT NULL,
	`delay_count_17` integer NOT NULL,
	`delay_count_18` integer NOT NULL,
	`delay_count_19` integer NOT NULL,
	`delay_count_20` integer NOT NULL,
	`delay_count_21` integer NOT NULL,
	`delay_count_22` integer NOT NULL,
	`delay_count_23` integer NOT NULL,
	`delay_count_24` integer NOT NULL,
	`delay_count_25` integer NOT NULL,
	`delay_count_26` integer NOT NULL,
	`delay_count_27` integer NOT NULL,
	`delay_count_28` integer NOT NULL,
	`delay_count_29` integer NOT NULL,
	`delay_count_30` integer NOT NULL,
	`delay_count_31` integer NOT NULL,
	`delay_count_32` integer NOT NULL,
	`delay_count_33` integer NOT NULL,
	`delay_count_34` integer NOT NULL,
	`delay_count_35` integer NOT NULL,
	`delay_count_36` integer NOT NULL,
	`delay_count_37` integer NOT NULL,
	`delay_count_38` integer NOT NULL,
	`delay_count_39` integer NOT NULL,
	`delay_count_40` integer NOT NULL,
	`delay_count_41` integer NOT NULL,
	`delay_count_42` integer NOT NULL,
	`delay_count_43` integer NOT NULL,
	`delay_count_44` integer NOT NULL,
	`delay_count_45` integer NOT NULL,
	`delay_count_46` integer NOT NULL,
	`delay_count_47` integer NOT NULL,
	`delay_count_48` integer NOT NULL,
	`delay_count_49` integer NOT NULL,
	`latency_count_00` integer NOT NULL,
	`latency_count_01` integer NOT NULL,
	`latency_count_02` integer NOT NULL,
	`latency_count_03` integer NOT NULL,
	`latency_count_04` integer NOT NULL,
	`latency_count_05` integer NOT NULL,
	`latency_count_06` integer NOT NULL,
	`latency_count_07` integer NOT NULL,
	`latency_count_08` integer NOT NULL,
	`latency_count_09` integer NOT NULL,
	`latency_count_10` integer NOT NULL,
	`latency_count_11` integer NOT NULL,
	`latency_count_12` integer NOT NULL,
	`latency_count_13` integer NOT NULL,
	`latency_count_14` integer NOT NULL,
	`latency_count_15` integer NOT NULL,
	`latency_count_16` integer NOT NULL,
	`latency_count_17` integer NOT NULL,
	`latency_count_18` integer NOT NULL,
	`latency_count_19` integer NOT NULL,
	`latency_count_20` integer NOT NULL,
	`latency_count_21` integer NOT NULL,
	`latency_count_22` integer NOT NULL,
	`latency_count_23` integer NOT NULL,
	`latency_count_24` integer NOT NULL,
	`latency_count_25` integer NOT NULL,
	`latency_count_26` integer NOT NULL,
	`latency_count_27` integer NOT NULL,
	`latency_count_28` integer NOT NULL,
	`latency_count_29` integer NOT NULL,
	`latency_count_30` integer NOT NULL,
	`latency_count_31` integer NOT NULL,
	`latency_count_32` integer NOT NULL,
	`latency_count_33` integer NOT NULL,
	`latency_count_34` integer NOT NULL,
	`latency_count_35` integer NOT NULL,
	`latency_count_36` integer NOT NULL,
	`latency_count_37` integer NOT NULL,
	`latency_count_38` integer NOT NULL,
	`latency_count_39` integer NOT NULL,
	`latency_count_40` integer NOT NULL,
	`latency_count_41` integer NOT NULL,
	`latency_count_42` integer NOT NULL,
	`latency_count_43` integer NOT NULL,
	`latency_count_44` integer NOT NULL,
	`latency_count_45` integer NOT NULL,
	`latency_count_46` integer NOT NULL,
	`latency_count_47` integer NOT NULL,
	`latency_count_48` integer NOT NULL,
	`latency_count_49` integer NOT NULL,
	FOREIGN KEY (`public_api_key`) REFERENCES `applications`(`public_api_key`) ON UPDATE no action ON DELETE no action
);
--> statement-breakpoint
CREATE UNIQUE INDEX `edgeIndex` ON `edges` (`public_api_key`,`manifest_hash`,`from`,`to`);