-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.sql
134 lines (106 loc) · 2.65 KB
/
db.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
-- phpMyAdmin SQL Dump
-- version 4.6.5.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: Feb 27, 2017 at 05:33 PM
-- Server version: 5.6.34
-- PHP Version: 5.6.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `pipeline`
--
-- --------------------------------------------------------
--
-- Table structure for table `auth`
--
CREATE TABLE `auth` (
`id` int(11) NOT NULL,
`authname` varchar(255) NOT NULL,
`authKey` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `auth`
--
INSERT INTO `auth` (`id`, `authname`, `authKey`) VALUES
(1, 'example', 't5AEYG0rmwAJv58zEOudp6EUw');
-- --------------------------------------------------------
--
-- Table structure for table `endpoints`
--
CREATE TABLE `endpoints` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`endpoint` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `endpoints`
--
INSERT INTO `endpoints` (`id`, `name`, `endpoint`) VALUES
(1, 'example', 'http://localhost:8888/Pipeline/calls.php?c=example');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(10) NOT NULL,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`fullname` varchar(255) NOT NULL,
`admin` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `email`, `fullname`, `admin`) VALUES
(1, 'admin', 'admin', 'example@example.com', 'Pipelines', 1);
-- --------------------------------------------------------
--
-- Table structure for table `webhooks`
--
CREATE TABLE `webhooks` (
`date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `webhooks`
--
INSERT INTO `webhooks` (`date`) VALUES
('0000-00-00');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `auth`
--
ALTER TABLE `auth`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `endpoints`
--
ALTER TABLE `endpoints`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `auth`
--
ALTER TABLE `auth`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `endpoints`
--
ALTER TABLE `endpoints`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;