From 5eee5633fa7504874bbd81840efa5965bedd7c15 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sat, 24 Feb 2018 16:19:43 +0000 Subject: [PATCH] Datenbank-Konfiguration ergaenzt, DAOs erzeugt, Initialiser erstellt --- web/WEB-INF/create_database.sql | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/web/WEB-INF/create_database.sql b/web/WEB-INF/create_database.sql index 7aeb910..d1dfd5e 100644 --- a/web/WEB-INF/create_database.sql +++ b/web/WEB-INF/create_database.sql @@ -9,9 +9,22 @@ ); create index sname on app.sender (sender_name); +create table app.abspieler +( + abs_id int not null, + abs_name varchar(1024) not null, + abs_url varchar(1024), + abs_typ varchar(1024), + abs_bild varchar(1024), + abs_zustand varchar(1024), + primary key (abs_id) +); +create index aname on app.abspieler (abs_name); + create table app.keytable ( key_name varchar(80) not null primary key, key_next int ); create index key_name_next ON app.keytable (key_name,key_next); insert into app.keytable (key_name, key_next) values ('sender_id',1); +insert into app.keytable (key_name, key_next) values ('abs_id',1); \ No newline at end of file -- Gitblit v1.9.3