CREATE TABLE `shortened_urls` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`long_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_code` varchar(25) COLLATE utf8_unicode_ci NOT NULL,
`hits` int(11) NOT NULL,
`created` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|