Advertisement
alexx876

Untitled

Dec 29th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.48 KB | None | 0 0
  1. CREATE TABLE `statistics` (
  2.   `id` int(11) NOT NULL,
  3.   `our_likes` int(11) NOT NULL,
  4.   `social_likes` int(11) NOT NULL,
  5.   `shark_likes` int(11) NOT NULL,
  6.   `comments` int(11) NOT NULL,
  7.   `reposts` int(11) NOT NULL,
  8.   `views` int(11) NOT NULL,
  9.   `date` date NOT NULL
  10. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  11.  
  12. --
  13. -- Индексы сохранённых таблиц
  14. --
  15.  
  16. --
  17. -- Индексы таблицы `statistics`
  18. --
  19. ALTER TABLE `statistics`
  20.   ADD PRIMARY KEY (`id`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement