0 rows where entry_id = 351340

View and edit SQL

0 records

CREATE TABLE `health_beats_per_minutes` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`entry_id` integer,`bpm` integer,`time` text,PRIMARY KEY (`id`),CONSTRAINT `fk_health_entries_beats_per_minutes` FOREIGN KEY (`entry_id`) REFERENCES `health_entries`(`id`));
CREATE UNIQUE INDEX `health_beats_per_minutes_key` ON `health_beats_per_minutes`(`entry_id`,`time`);
CREATE INDEX `idx_health_beats_per_minutes_deleted_at` ON `health_beats_per_minutes`(`deleted_at`);