-
Notifications
You must be signed in to change notification settings - Fork 0
/
sql.sql
87 lines (70 loc) · 2.25 KB
/
sql.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
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Machine: localhost
-- Genereertijd: 15 Mar 2010 om 18:08
-- Serverversie: 5.1.37
-- PHP-Versie: 5.2.11
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `threadsv2`
--
-- --------------------------------------------------------
--
-- Tabelstructuur voor tabel `th_clients`
--
CREATE TABLE `th_clients` (
`client_id` bigint(6) unsigned NOT NULL AUTO_INCREMENT,
`client_name` varchar(255) NOT NULL,
`client_lastName` varchar(255) NOT NULL,
`client_birthDay` varchar(255) NOT NULL,
`client_gender` varchar(255) NOT NULL,
`client_function` varchar(255) NOT NULL,
`client_email` varchar(255) NOT NULL,
`client_tel` varchar(255) NOT NULL,
`client_mob` varchar(255) NOT NULL,
`client_web` varchar(255) NOT NULL,
`client_street` varchar(255) NOT NULL,
`client_zip` varchar(255) NOT NULL,
`client_location` varchar(255) NOT NULL,
`client_state` varchar(255) NOT NULL,
`client_country` varchar(255) NOT NULL,
PRIMARY KEY (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- Gegevens worden uitgevoerd voor tabel `th_clients`
--
-- --------------------------------------------------------
--
-- Tabelstructuur voor tabel `th_todo`
--
CREATE TABLE `th_todo` (
`todo_id` bigint(6) unsigned NOT NULL AUTO_INCREMENT,
`todo_text` varchar(255) NOT NULL,
`todo_userId` bigint(6) NOT NULL,
`todo_done` bigint(1) NOT NULL,
`todo_date` date NOT NULL,
PRIMARY KEY (`todo_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- Gegevens worden uitgevoerd voor tabel `th_todo`
--
-- --------------------------------------------------------
--
-- Tabelstructuur voor tabel `th_users`
--
CREATE TABLE `th_users` (
`user_id` bigint(6) unsigned NOT NULL AUTO_INCREMENT,
`user_name` varchar(255) NOT NULL,
`user_lastName` varchar(255) NOT NULL,
`user_username` varchar(255) NOT NULL,
`user_password` varchar(255) NOT NULL,
`user_email` varchar(255) NOT NULL,
`user_permission` int(1) NOT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Gegevens worden uitgevoerd voor tabel `th_users`
--
INSERT INTO `th_users` VALUES(1, 'Foo', 'Bar', 'demo', 'fe01ce2a7fbac8fafaed7c982a04e229', '[email protected]', 1);