Update config files
This commit is contained in:
parent
7827761214
commit
4d5c5d9c93
|
@ -1,12 +1,14 @@
|
||||||
-- create a table
|
-- create a table
|
||||||
CREATE TABLE test(
|
CREATE TABLE ALUMNOS (
|
||||||
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
id_alumno INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
||||||
name TEXT NOT NULL,
|
nombre TEXT NOT NULL,
|
||||||
archived BOOLEAN NOT NULL DEFAULT FALSE
|
apellido1 TEXT,
|
||||||
|
apellido2 TEXT,
|
||||||
|
email TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
-- add test data
|
-- add test data
|
||||||
INSERT INTO test (name, archived)
|
INSERT INTO ALUMNOS (nombre, apellido1, apellido2, email)
|
||||||
VALUES ('test row 1', true),
|
VALUES ('Raúl', 'Bulgariu', 'Suciu', 'raul@bulgariu.xyz'),
|
||||||
('test row 2', false);
|
('Pepito', 'Prueba', 'de Ejemplo', 'pepito@gmail.com');
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
[Server]
|
[Server]
|
||||||
# Port to use for web interface
|
Port = "8080"
|
||||||
#Port = "8080"
|
DB_Host = "127.0.0.1"
|
||||||
|
DB_Port = "5432"
|
||||||
|
DB_User = "drahootuser"
|
||||||
|
DB_Pass = "drahootpass"
|
||||||
|
DB_Name = "drahoot"
|
||||||
|
|
Loading…
Reference in New Issue