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




--
-- Database: `pp`


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

--
-- Table structure for table `links`
--

CREATE TABLE IF NOT EXISTS `links` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `short` varchar(10) NOT NULL,
  `email` varchar(200) NOT NULL,
  `amount` varchar(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL,
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `curr` varchar(10) NOT NULL DEFAULT 'USD',
  `srv` int(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `short` (`short`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ;

