-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathgluon.sql
92 lines (76 loc) · 2.39 KB
/
gluon.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 14, 2012 at 05:46 AM
-- Server version: 5.1.36
-- PHP Version: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!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: `gluon`
--
-- --------------------------------------------------------
--
-- Table structure for table `agenda`
--
CREATE TABLE IF NOT EXISTS `agenda` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`color` int(11) NOT NULL,
`description` varchar(250) NOT NULL,
`startdate` bigint(20) NOT NULL,
`duration` bigint(20) NOT NULL,
`alarm` tinyint(1) NOT NULL,
`alarmdate` bigint(20) NOT NULL,
`recur` int(11) NOT NULL DEFAULT '0',
`dayofweek` int(11) NOT NULL,
`dayofmonth` int(11) NOT NULL,
`month` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `duration` (`duration`),
KEY `startdate_duration` (`startdate`,`duration`),
KEY `startdate` (`startdate`),
KEY `alarm_alarmdate` (`alarm`,`alarmdate`),
KEY `alarm` (`alarm`),
KEY `alarmdate` (`alarmdate`),
KEY `recur` (`recur`),
KEY `dayofweek` (`dayofweek`),
KEY `dayofmonth` (`dayofmonth`),
KEY `month` (`month`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=578 ;
-- --------------------------------------------------------
--
-- Table structure for table `groceries`
--
CREATE TABLE IF NOT EXISTS `groceries` (
`name` varchar(150) NOT NULL,
`count` bigint(20) NOT NULL,
`list` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`name`,`list`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `groceries_count`
--
CREATE TABLE IF NOT EXISTS `groceries_count` (
`name` varchar(150) NOT NULL,
`count` bigint(20) NOT NULL,
`lastused` bigint(20) NOT NULL,
`list` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`name`),
KEY `count` (`count`),
KEY `lastused` (`lastused`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `notes`
--
CREATE TABLE IF NOT EXISTS `notes` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`note` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=42 ;