Skip to content

Commit d08e0d7

Browse files
authored
Merge pull request #130 from simonLeary42/remove-comments
remove comments
2 parents d1c4f66 + 218b321 commit d08e0d7

File tree

1 file changed

+0
-173
lines changed

1 file changed

+0
-173
lines changed

tools/docker-dev/sql/bootstrap.sql

Lines changed: 0 additions & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ SET AUTOCOMMIT = 0;
1212
START TRANSACTION;
1313
SET time_zone = "+00:00";
1414

15-
1615
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
1716
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
1817
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
@@ -22,24 +21,12 @@ SET time_zone = "+00:00";
2221
-- Database: `unity`
2322
--
2423

25-
-- --------------------------------------------------------
26-
27-
--
28-
-- Table structure for table `account_deletion_requests`
29-
--
30-
3124
CREATE TABLE `account_deletion_requests` (
3225
`id` int(11) NOT NULL,
3326
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
3427
`uid` varchar(1000) NOT NULL
3528
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
3629

37-
-- --------------------------------------------------------
38-
39-
--
40-
-- Table structure for table `audit_log`
41-
--
42-
4330
CREATE TABLE `audit_log` (
4431
`id` int(11) NOT NULL,
4532
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
@@ -49,12 +36,6 @@ CREATE TABLE `audit_log` (
4936
`recipient` varchar(1000) NOT NULL
5037
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
5138

52-
-- --------------------------------------------------------
53-
54-
--
55-
-- Table structure for table `events`
56-
--
57-
5839
CREATE TABLE `events` (
5940
`id` int(11) NOT NULL,
6041
`operator` varchar(300) NOT NULL,
@@ -63,25 +44,13 @@ CREATE TABLE `events` (
6344
`timestamp` timestamp NOT NULL DEFAULT current_timestamp()
6445
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
6546

66-
-- --------------------------------------------------------
67-
68-
--
69-
-- Table structure for table `groupJoinRequests`
70-
--
71-
7247
CREATE TABLE `groupJoinRequests` (
7348
`id` int(11) NOT NULL,
7449
`group_name` varchar(1000) NOT NULL,
7550
`requestor` varchar(1000) NOT NULL,
7651
`requested_on` timestamp NOT NULL DEFAULT current_timestamp()
7752
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
7853

79-
-- --------------------------------------------------------
80-
81-
--
82-
-- Table structure for table `groupRequests`
83-
--
84-
8554
CREATE TABLE `groupRequests` (
8655
`id` int(11) NOT NULL,
8756
`group_type` varchar(1000) NOT NULL,
@@ -92,25 +61,13 @@ CREATE TABLE `groupRequests` (
9261
`end_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
9362
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
9463

95-
-- --------------------------------------------------------
96-
97-
--
98-
-- Table structure for table `groupRoleAssignments`
99-
--
100-
10164
CREATE TABLE `groupRoleAssignments` (
10265
`id` int(11) NOT NULL,
10366
`user` varchar(1000) NOT NULL,
10467
`role` varchar(1000) NOT NULL,
10568
`group` varchar(1000) NOT NULL
10669
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
10770

108-
-- --------------------------------------------------------
109-
110-
--
111-
-- Table structure for table `groupRoles`
112-
--
113-
11471
CREATE TABLE `groupRoles` (
11572
`id` int(11) NOT NULL,
11673
`name` varchar(1000) NOT NULL,
@@ -120,12 +77,6 @@ CREATE TABLE `groupRoles` (
12077
`perms` varchar(1000) NOT NULL
12178
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
12279

123-
-- --------------------------------------------------------
124-
125-
--
126-
-- Table structure for table `groupTypes`
127-
--
128-
12980
CREATE TABLE `groupTypes` (
13081
`id` int(11) NOT NULL,
13182
`name` varchar(1000) NOT NULL,
@@ -137,78 +88,40 @@ CREATE TABLE `groupTypes` (
13788
`can_request` tinyint(1) NOT NULL
13889
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
13990

140-
-- --------------------------------------------------------
141-
142-
--
143-
-- Table structure for table `notices`
144-
--
145-
14691
CREATE TABLE `notices` (
14792
`id` int(11) NOT NULL,
14893
`date` timestamp NOT NULL DEFAULT current_timestamp(),
14994
`title` varchar(300) NOT NULL,
15095
`message` longtext NOT NULL
15196
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
15297

153-
--
154-
-- Dumping data for table `notices`
155-
--
156-
15798
INSERT INTO `notices` (`id`, `date`, `title`, `message`) VALUES
15899
(9, '2022-09-19 15:49:10', 'Example Notice 1', '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>'),
159100
(10, '2022-09-14 11:48:39', 'Example Notice 2', '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>');
160101

161-
-- --------------------------------------------------------
162-
163-
--
164-
-- Table structure for table `pages`
165-
--
166-
167102
CREATE TABLE `pages` (
168103
`id` int(11) NOT NULL,
169104
`page` varchar(300) NOT NULL,
170105
`content` longtext NOT NULL
171106
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
172107

173-
--
174-
-- Dumping data for table `pages`
175-
--
176-
177108
INSERT INTO `pages` (`id`, `page`, `content`) VALUES
178109
(1, 'support', '<h3>Docmentation and FAQ</h3>\r\n<p>You can find our documentation <a href=\"https://esdconfluence.it.umass.edu/confluence/display/UNITY/Unity+Cluster+Documentation+Home\" target=\"_blank\">here</a>. We also have an <a target=\"_blank\" href=\"https://esdconfluence.it.umass.edu/confluence/display/UNITY/Frequently+Asked+Questions\">FAQ</a> page which could help answer quick questions.\r\n\r\n<h3>Office Hours</h3>\r\n<p>We offer office hours every week on <strong>Tuesdays 2-4 PM</strong> in-person at <strong>W.E.B. DuBois Library 786</strong> or remote on <strong><a target=\"_blank\" href=\"https://umass-amherst.zoom.us/j/95663998309\">Zoom</a></strong>. Be sure to check the <a href=\"<?php echo $CONFIG[\"site\"][\"prefix\"]; ?>/index.php\">cluster notes</a> page for up-to-date information on any canceled/delayed office hours.</p>\r\n\r\n<h3>Support Email</h3>\r\n<p>You can create a support ticket by emailing <a target=\"_blank\" href=\"mailto:[email protected]\">[email protected]</a>. We will do our best to reply as fast as possible!</p>'),
179110
(2, 'policy', '<p>By using resources associated with Unity, you agree to comply with the following conditions of use. This is an extension of the University of Massachussetts Amherst Information Technology Acceptable Use Policy, which can be found <a target=\"_blank\" href=\"https://www.umass.edu/it/security/acceptable-use-policy\">here</a>.</p>\r\n\r\n<ol>\r\n <li>You will not use Unity resources for illicit financial gain, such as virtual currency mining, or any unlawful purpose, nor attempt to breach or circumvent any Unity administrative or security controls. You will comply with all applicable laws, working with your home institution and the specific Unity service providers utilized to determine what constraints may be placed on you by any relevant regulations such as export control law or HIPAA.</li>\r\n <li>You will respect intellectual property rights and observe confidentiality agreements.</li>\r\n <li>You will protect the access credentials (e.g., passwords, private keys, and/or tokens) issued to you or generated to access Unity resources; these are issued to you for your sole use.</li>\r\n <li>You will immediately report any known or suspected security breach or loss or misuse of Unity access credentials to <a href=\"mailto:[email protected]\">[email protected]</a>.</li>\r\n <li>You will have only one Unity User account and will keep your profile information up-to-date.</li>\r\n <li>Use of resources and services through Unity is at your own risk. There are no guarantees that resources and services will be available, that they will suit every purpose, or that data will never be lost or corrupted. Users are responsible for backing up critical data.</li>\r\n <li>Logged information, including information provided by you for registration purposes, is used for administrative, operational, accounting, monitoring and security purposes. This information may be disclosed, via secured mechanisms, only for the same purposes and only as far as necessary to other organizations cooperating with Unity .</li>\r\n</ol>\r\n\r\n<p>The Unity team reserves the right to restrict access to any individual/group found to be in breach of the above.</p>');
180111

181-
-- --------------------------------------------------------
182-
183-
--
184-
-- Table structure for table `requests`
185-
--
186-
187112
CREATE TABLE `requests` (
188113
`id` int(11) NOT NULL,
189114
`request_for` varchar(1000) NOT NULL,
190115
`uid` varchar(1000) NOT NULL,
191116
`timestamp` timestamp NOT NULL DEFAULT current_timestamp()
192117
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
193118

194-
-- --------------------------------------------------------
195-
196-
--
197-
-- Table structure for table `sitevars`
198-
--
199-
200119
CREATE TABLE `sitevars` (
201120
`id` int(11) NOT NULL,
202121
`name` varchar(1000) NOT NULL,
203122
`value` varchar(1000) NOT NULL
204123
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
205124

206-
-- --------------------------------------------------------
207-
208-
--
209-
-- Table structure for table `sso_log`
210-
--
211-
212125
CREATE TABLE `sso_log` (
213126
`id` int(10) NOT NULL,
214127
`uid` varchar(300) NOT NULL,
@@ -218,167 +131,81 @@ CREATE TABLE `sso_log` (
218131
`org` varchar(300) NOT NULL
219132
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
220133

221-
--
222-
-- Indexes for dumped tables
223-
--
224-
225-
--
226-
-- Indexes for table `account_deletion_requests`
227-
--
228134
ALTER TABLE `account_deletion_requests`
229135
ADD PRIMARY KEY (`id`);
230136

231-
--
232-
-- Indexes for table `audit_log`
233-
--
234137
ALTER TABLE `audit_log`
235138
ADD PRIMARY KEY (`id`);
236139

237-
--
238-
-- Indexes for table `events`
239-
--
240140
ALTER TABLE `events`
241141
ADD PRIMARY KEY (`id`);
242142

243-
--
244-
-- Indexes for table `groupJoinRequests`
245-
--
246143
ALTER TABLE `groupJoinRequests`
247144
ADD PRIMARY KEY (`id`);
248145

249-
--
250-
-- Indexes for table `groupRequests`
251-
--
252146
ALTER TABLE `groupRequests`
253147
ADD PRIMARY KEY (`id`);
254148

255-
--
256-
-- Indexes for table `groupRoleAssignments`
257-
--
258149
ALTER TABLE `groupRoleAssignments`
259150
ADD PRIMARY KEY (`id`);
260151

261-
--
262-
-- Indexes for table `groupRoles`
263-
--
264152
ALTER TABLE `groupRoles`
265153
ADD PRIMARY KEY (`id`);
266154

267-
--
268-
-- Indexes for table `groupTypes`
269-
--
270155
ALTER TABLE `groupTypes`
271156
ADD PRIMARY KEY (`id`);
272157

273-
--
274-
-- Indexes for table `notices`
275-
--
276158
ALTER TABLE `notices`
277159
ADD PRIMARY KEY (`id`);
278160

279-
--
280-
-- Indexes for table `pages`
281-
--
282161
ALTER TABLE `pages`
283162
ADD PRIMARY KEY (`id`);
284163

285-
--
286-
-- Indexes for table `requests`
287-
--
288164
ALTER TABLE `requests`
289165
ADD PRIMARY KEY (`id`);
290166

291-
--
292-
-- Indexes for table `sitevars`
293-
--
294167
ALTER TABLE `sitevars`
295168
ADD PRIMARY KEY (`id`);
296169

297-
--
298-
-- Indexes for table `sso_log`
299-
--
300170
ALTER TABLE `sso_log`
301171
ADD PRIMARY KEY (`id`);
302172

303-
--
304-
-- AUTO_INCREMENT for dumped tables
305-
--
306-
307-
--
308-
-- AUTO_INCREMENT for table `account_deletion_requests`
309-
--
310173
ALTER TABLE `account_deletion_requests`
311174
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
312175

313-
--
314-
-- AUTO_INCREMENT for table `audit_log`
315-
--
316176
ALTER TABLE `audit_log`
317177
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
318178

319-
--
320-
-- AUTO_INCREMENT for table `events`
321-
--
322179
ALTER TABLE `events`
323180
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
324181

325-
--
326-
-- AUTO_INCREMENT for table `groupJoinRequests`
327-
--
328182
ALTER TABLE `groupJoinRequests`
329183
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
330184

331-
--
332-
-- AUTO_INCREMENT for table `groupRequests`
333-
--
334185
ALTER TABLE `groupRequests`
335186
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
336187

337-
--
338-
-- AUTO_INCREMENT for table `groupRoleAssignments`
339-
--
340188
ALTER TABLE `groupRoleAssignments`
341189
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
342190

343-
--
344-
-- AUTO_INCREMENT for table `groupRoles`
345-
--
346191
ALTER TABLE `groupRoles`
347192
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
348193

349-
--
350-
-- AUTO_INCREMENT for table `groupTypes`
351-
--
352194
ALTER TABLE `groupTypes`
353195
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
354196

355-
--
356-
-- AUTO_INCREMENT for table `notices`
357-
--
358197
ALTER TABLE `notices`
359198
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
360199

361-
--
362-
-- AUTO_INCREMENT for table `pages`
363-
--
364200
ALTER TABLE `pages`
365201
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
366202

367-
--
368-
-- AUTO_INCREMENT for table `requests`
369-
--
370203
ALTER TABLE `requests`
371204
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1031;
372205

373-
--
374-
-- AUTO_INCREMENT for table `sitevars`
375-
--
376206
ALTER TABLE `sitevars`
377207
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
378208

379-
--
380-
-- AUTO_INCREMENT for table `sso_log`
381-
--
382209
ALTER TABLE `sso_log`
383210
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
384211
COMMIT;

0 commit comments

Comments
 (0)