-
Notifications
You must be signed in to change notification settings - Fork 0
/
FeurBot.sql
38 lines (33 loc) · 1022 Bytes
/
FeurBot.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
create database FeurBot;
create user 'FeurBot'@'localhost' identified by 'FeurBot';
grant all privileges on FeurBot.* to 'FeurBot'@'localhost';
flush privileges;
use FeurBot;
create table guilds
(
guild_id varchar(150) not null
primary key,
guild_name varchar(500) not null,
welcome_channel varchar(150) null,
system_channel varchar(150) null
);
create table users
(
user_id varchar(150) not null
primary key,
user_name varchar(500) not null,
guild_id varchar(150) not null,
user_level int default 1 not null,
user_experience int default 0 not null,
user_money int default 100 not null,
`user_is-daily` tinyint(1) default 1 not null
);
create table pnj
(
guild_id varchar(150) not null,
channel_id varchar(150) not null,
pnj_id int not null auto_increment
primary key,
pnj_name varchar(150) not null,
pnj_image varchar(500) null
);