-
Notifications
You must be signed in to change notification settings - Fork 1
/
grid.sql
73 lines (65 loc) · 2.28 KB
/
grid.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
/*
Navicat MySQL Data Transfer
Source Server : Wolf Territories
Source Server Type : MariaDB
Source Server Version : 100332
Source Host : grid.wolfterritories.org:3306
Source Schema : grid
Target Server Type : MariaDB
Target Server Version : 100332
File Encoding : 65001
Date: 19/04/2022 14:31:07
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for regions
-- ----------------------------
DROP TABLE IF EXISTS `regions`;
CREATE TABLE `regions` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`regionname` varchar(200) DEFAULT NULL,
`servername` varchar(255) DEFAULT NULL,
`xpos` int(200) DEFAULT NULL,
`ypos` int(200) DEFAULT NULL,
`estatename` varchar(200) DEFAULT NULL,
`owner` varchar(200) DEFAULT NULL,
`shortname` varchar(200) DEFAULT NULL,
`createdate` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`uuid` varchar(200) DEFAULT uuid(),
`port` int(80) DEFAULT NULL,
`databasename` varchar(79) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `regionname` (`regionname`)
) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for regions_copy1
-- ----------------------------
DROP TABLE IF EXISTS `regions_copy1`;
CREATE TABLE `regions_copy1` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`regionname` varchar(200) DEFAULT NULL,
`servername` varchar(255) DEFAULT NULL,
`xpos` varchar(200) DEFAULT NULL,
`ypos` varchar(200) DEFAULT NULL,
`estatename` varchar(200) DEFAULT NULL,
`owner` varchar(200) DEFAULT NULL,
`shortname` varchar(200) DEFAULT NULL,
`createdate` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`uuid` varchar(200) DEFAULT uuid(),
`port` int(80) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `regionname` (`regionname`)
) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for servers
-- ----------------------------
DROP TABLE IF EXISTS `servers`;
CREATE TABLE `servers` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`servername` varchar(80) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;