0 rows where tweet_entities_id = 154

View and edit SQL

0 records

CREATE TABLE `twitter_tweet_urls` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`tweet_entities_id` integer,`url_id` integer,`from_idx` integer,`to_idx` integer,PRIMARY KEY (`id`),CONSTRAINT `fk_twitter_tweet_urls_url` FOREIGN KEY (`url_id`) REFERENCES `twitter_urls`(`id`),CONSTRAINT `fk_twitter_tweet_entities_urls` FOREIGN KEY (`tweet_entities_id`) REFERENCES `twitter_tweet_entities`(`id`));
CREATE UNIQUE INDEX `twitter_tweet_urls_key` ON `twitter_tweet_urls`(`tweet_entities_id`,`url_id`,`from_idx`,`to_idx`);
CREATE INDEX `idx_twitter_tweet_urls_deleted_at` ON `twitter_tweet_urls`(`deleted_at`);