verion which did not include the handling in RTService wth creating the
Json file
This commit is contained in:
25
vrpmdvaotserver/sql/002_init.sql
Normal file
25
vrpmdvaotserver/sql/002_init.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
|
||||
CREATE TABLE AppUser (
|
||||
id INTEGER PRIMARY KEY,
|
||||
username VARCHAR UNIQUE,
|
||||
email VARCHAR UNIQUE,
|
||||
password VARCHAR,
|
||||
role VARCHAR
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE Monitoring (
|
||||
id INTEGER PRIMARY KEY,
|
||||
name VARCHAR,
|
||||
samplerate VARCHAR,
|
||||
sampleperiod VARCHAR,
|
||||
downtime VARCHAR,
|
||||
status VARCHAR,
|
||||
created_at VARCHAR
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO AppUser
|
||||
(username, email, password, role) VALUES ('admin', 'admin@domain.com', 'admin', 'ROLE_ADMIN');
|
||||
Reference in New Issue
Block a user