Skip to content

Instantly share code, notes, and snippets.

@natyrix
Created August 11, 2022 11:03
Show Gist options
  • Save natyrix/9c4a65e6504c0653cec79d3c5e3729b9 to your computer and use it in GitHub Desktop.
Save natyrix/9c4a65e6504c0653cec79d3c5e3729b9 to your computer and use it in GitHub Desktop.
CREATE TABLE IF NOT EXISTS `TweetInformation`
(
`id` INT NOT NULL AUTO_INCREMENT,
`created_at` TEXT NOT NULL,
`source` VARCHAR(200) NOT NULL,
`full_text` TEXT DEFAULT NULL,
`polarity` FLOAT DEFAULT NULL,
`subjectivity` FLOAT DEFAULT NULL,
`language` TEXT DEFAULT NULL,
`favorite_count` INT DEFAULT NULL,
`retweet_count` INT DEFAULT NULL,
`original_author` TEXT DEFAULT NULL,
`followers_count` INT DEFAULT NULL,
`friends_count` INT DEFAULT NULL,
`hashtags` TEXT DEFAULT NULL,
`user_mentions` TEXT DEFAULT NULL,
`place` TEXT DEFAULT NULL,
PRIMARY KEY (`id`)
)
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment