0 rows where device_id = 12

View and edit SQL

0 records

CREATE TABLE `health_workouts` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`activity_type` text,`duration` real,`duration_unit` text,`total_distance` real,`total_distance_unit` text,`total_energy_burned` real,`total_energy_burned_unit` text,`source_name` text,`source_version` text,`creation_date` datetime UNIQUE,`start_date` datetime,`end_date` datetime,`device_id` integer,PRIMARY KEY (`id`),CONSTRAINT `fk_health_workouts_device` FOREIGN KEY (`device_id`) REFERENCES `health_devices`(`id`));
CREATE INDEX `idx_health_workouts_deleted_at` ON `health_workouts`(`deleted_at`);