﻿DROP TABLE IF EXISTS `blog`;
CREATE TABLE IF NOT EXISTS `blog` (
  `post_id` int(11) NOT NULL AUTO_INCREMENT,
  `post_time` int(10) NOT NULL,
  `post_title` varchar(256) NOT NULL,
  `post_content` text NOT NULL,
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 ;

INSERT INTO `blog` (`post_id`, `post_time`, `post_title`, `post_content`) VALUES
(1, 1429118123, 'Tytul', 'Tresc'),
(2, 1429118838, 'Test', 'Test');