0 rows where user_id = 51

View and edit SQL

0 records

CREATE TABLE `instagram_comment_user_mentions` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`comment_id` integer,`user_id` integer,`from_idx` integer,`to_idx` integer,PRIMARY KEY (`id`),CONSTRAINT `fk_instagram_comment_user_mentions_user` FOREIGN KEY (`user_id`) REFERENCES `instagram_users`(`id`),CONSTRAINT `fk_instagram_comments_user_mentions` FOREIGN KEY (`comment_id`) REFERENCES `instagram_comments`(`id`));
CREATE UNIQUE INDEX `instagram_comment_user_mentions_key` ON `instagram_comment_user_mentions`(`comment_id`,`user_id`,`from_idx`,`to_idx`);
CREATE INDEX `idx_instagram_comment_user_mentions_deleted_at` ON `instagram_comment_user_mentions`(`deleted_at`);