-- http://www.phpmyadmin.net
--




--
-- Database: `bpca`
--

-- --------------------------------------------------------

--
-- Table structure for table `comments`
--

CREATE TABLE IF NOT EXISTS `comments` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `uid` int(10) NOT NULL,
  `topic_id` int(10) NOT NULL,
  `comment` text NOT NULL,
  `created` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `comments`
--

INSERT INTO `comments` (`id`, `uid`, `topic_id`, `comment`, `created`) VALUES
(1, 55, 1, 'Samsung', '2012-05-18 15:07:28'),
(2, 56, 1, 'are you sure? :)', '2012-05-18 15:14:34'),
(3, 55, 1, 'yup', '2012-05-18 15:16:02'),
(4, 57, 2, 'reading designer''s blog', '2012-05-21 16:14:52'),
(5, 56, 2, 'hey u thr...???', '2012-06-06 16:22:07'),
(6, 57, 2, 'get lost...!!', '2012-06-06 16:25:40');

-- --------------------------------------------------------

--
-- Table structure for table `topics`
--

CREATE TABLE IF NOT EXISTS `topics` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `from_id` int(10) NOT NULL,
  `to_id` int(10) NOT NULL,
  `title` varchar(255) NOT NULL,
  `desc` text NOT NULL,
  `status` tinyint(4) NOT NULL,
  `created` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `topics`
--

INSERT INTO `topics` (`id`, `from_id`, `to_id`, `title`, `desc`, `status`, `created`) VALUES
(1, 56, 55, 'Wats next?', '', 5, '2012-05-18 12:51:24'),
(2, 56, 57, 'What are you doing?', '', 5, '2012-05-18 17:19:02');

