Fixed send information about package and added SQL script installer

This commit is contained in:
2020-05-19 20:36:56 +02:00
parent 5f772f4db8
commit 1fb645b003
5 changed files with 31 additions and 9 deletions

17
installDB.sql Normal file
View File

@@ -0,0 +1,17 @@
create database bin_database;
use bin_database;
create table users(
id int key not null auto_increment,
username varchar(30),
passwd varchar(30)
);
create table packages(
id int key not null auto_increment,
created date default CURRENT_TIME(),
name varchar(30),
uses bool default false,
user int,
foreign key (user) references users(id)
);