You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
-- phpMyAdmin SQL Dump
|
|
-- version 4.0.4
|
|
-- http://www.phpmyadmin.net
|
|
--
|
|
-- Host: localhost
|
|
-- Generation Time: Oct 04, 2014 at 11:56 PM
|
|
-- Server version: 5.6.12-log
|
|
-- PHP Version: 5.4.12
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
SET time_zone = "+00:00";
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
--
|
|
-- Database: `calendar`
|
|
--
|
|
CREATE DATABASE IF NOT EXISTS `calendar` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
USE `calendar`;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `events`
|
|
--
|
|
|
|
CREATE TABLE IF NOT EXISTS `events` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`title` varchar(255) NOT NULL,
|
|
`description` text NOT NULL,
|
|
`color` varchar(7) NOT NULL DEFAULT '#3a87ad',
|
|
`date` datetime NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
|
|
|
|
--
|
|
-- Dumping data for table `events`
|
|
--
|
|
|
|
INSERT INTO `events` (`id`, `title`, `description`, `color`, `date`) VALUES
|
|
(1, 'Event 1', 'This is events description', '#f00877', '2014-10-05 02:44:00'),
|
|
(2, 'Event 2', 'This is events description', '#08aaf0', '2014-10-08 02:44:00'),
|
|
(3, 'Event 3', 'This is events description', '#08f049', '2014-10-22 02:45:00'),
|
|
(4, 'Event 4', 'This is events description', '#ddf008', '2014-10-31 02:45:00');
|
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|