mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Initial MySQL work
This commit is contained in:
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>);
|
||||
Reference in new issue
Block a user