mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
added sql import
This commit is contained in:
1 parent
581d6011e0
commit
df7c86cf8c
1 file changed
+11
@@ -44,3 +44,14 @@ CREATE TABLE IF NOT EXISTS `npwd_twitter_profiles` (
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `profile_name_UNIQUE` (`profile_name`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
CREATE TABLE `npwd_twitter_likes` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`profile_id` int NOT NULL,
|
||||
`tweet_id` int NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `profile_idx` (`profile_id`),
|
||||
KEY `tweet_idx` (`tweet_id`),
|
||||
CONSTRAINT `profile` FOREIGN KEY (`profile_id`) REFERENCES `npwd_twitter_profiles` (`id`),
|
||||
CONSTRAINT `tweet` FOREIGN KEY (`tweet_id`) REFERENCES `npwd_twitter_tweets` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
Reference in new issue
Block a user