0 rows where entry_id = 362547

View and edit SQL

0 records

CREATE TABLE `health_entry_metadata` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`entry_id` integer,`key` text,`value` text,PRIMARY KEY (`id`),CONSTRAINT `fk_health_entries_metadata_entries` FOREIGN KEY (`entry_id`) REFERENCES `health_entries`(`id`));
CREATE UNIQUE INDEX `health_entry_metadata_key` ON `health_entry_metadata`(`entry_id`,`key`);
CREATE INDEX `idx_health_entry_metadata_deleted_at` ON `health_entry_metadata`(`deleted_at`);