mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-12-17 02:32:21 +00:00
Changed init functions to be more consistent.
Added setup script and templates for config and database setup. Fixed typo in tsconfig.
This commit is contained in:
11
install/db_template.sql
Normal file
11
install/db_template.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
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),
|
||||
record_flag TINYINT,
|
||||
is_mod TINYINT
|
||||
);
|
||||
Reference in New Issue
Block a user