Initial MySQL work

This commit is contained in:
Draycia committed 2022-06-08 15:16:16 -07:00
1 parent bbb7b99dd2
commit 400bdd44a3
16 files changed
+400 -14

No files matched your search

@@ -0,0 +1,18 @@
CREATE TABLE carbon_users
(
`uuid` UUID NOT NULL PRIMARY KEY,
`muted` BOOLEAN,
`deafened` BOOLEAN,
`selectedchannel` varchar(256),
`username` varchar(20),
`displayname` varchar(1024),
`lastwhispertarget` UUID,
`whisperreplytarget` UUID,
`spying` BOOLEAN
);
CREATE TABLE carbon_ignores
(
`uuid` UUID NOT NULL,
`ignoredplayer` UUID NOT NULL
);
@@ -0,0 +1 @@
SELECT ignoredplayer FROM carbon_ignores WHERE (uuid = <uuid>);
@@ -0,0 +1 @@
SELECT * from carbon_users WHERE (uuid = <uuid>);