diff --git a/README.md b/README.md index 8697455..d6f240d 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ Database and table needed, build on MariaDB / MySQL: CREATE DATABASE IF NOT EXISTS `shortr` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `shortr`; - CREATE TABLE `urls` ( `id` varchar(255) NOT NULL, `url` text DEFAULT NULL, `timestamp` timestamp NOT NULL DEFAULT current_timestamp(), `ip` varchar(255) DEFAULT NULL, - `count` int(11) NOT NULL + `count` int(11) NOT NULL, + PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;