This repository has been archived on 2021-01-16. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-09-26 14:43:24 -05:00
|
|
|
CREATE USER '<dbuser>'@'<dbclient>' IDENTIFIED BY '<dbpass>';
|
|
|
|
CREATE DATABASE <dbname>;
|
|
|
|
GRANT ALL PRIVILEGES ON <dbname>.* TO '<dbuser>'@'<dbclient>';
|
|
|
|
USE <dbname>;
|
|
|
|
CREATE TABLE users(
|
|
|
|
username VARCHAR(25),
|
|
|
|
password_hash BINARY(60),
|
|
|
|
stream_key CHAR(20),
|
2019-10-20 16:10:35 -05:00
|
|
|
record_flag TINYINT
|
2019-10-05 14:34:57 -05:00
|
|
|
);
|
|
|
|
CREATE TABLE user_meta(
|
|
|
|
username VARCHAR(25),
|
|
|
|
title VARCHAR(120),
|
|
|
|
about VARCHAR(5000),
|
|
|
|
live TINYINT
|
2020-06-26 04:07:37 -05:00
|
|
|
);
|
|
|
|
CREATE TABLE chat_integration(
|
|
|
|
username VARCHAR(25),
|
|
|
|
irc VARCHAR(1000),
|
|
|
|
xmpp VARCHAR(1000),
|
|
|
|
twitch VARCHAR(1000),
|
|
|
|
discord VARCHAR(1000)
|
2019-09-26 14:43:24 -05:00
|
|
|
);
|