From 108c265fb59246a6a292e69c4047f4bf9ab39afb Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 23 Aug 2000 11:54:58 +0000 Subject: [PATCH] Database Update Files --- doc/update_08072000_to_08212000.mysql | 26 ++++++++++++++++++++++++++ doc/update_08072000_to_08212000.pgsql | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100755 doc/update_08072000_to_08212000.mysql create mode 100755 doc/update_08072000_to_08212000.pgsql diff --git a/doc/update_08072000_to_08212000.mysql b/doc/update_08072000_to_08212000.mysql new file mode 100755 index 0000000000..82ca15676a --- /dev/null +++ b/doc/update_08072000_to_08212000.mysql @@ -0,0 +1,26 @@ +# $Id$ + +CREATE TABLE applications ( + app_name varchar(25) NOT NULL, + app_title varchar(50), + app_enabled int, + UNIQUE app_name (app_name) +); + +insert into applications (app_name, app_title, app_enabled) values ('admin', 'Administration', 1); +insert into applications (app_name, app_title, app_enabled) values ('tts', 'Trouble Ticket System', 1); +insert into applications (app_name, app_title, app_enabled) values ('inv', 'Inventory', 1); +insert into applications (app_name, app_title, app_enabled) values ('chat', 'Chat', 1); +insert into applications (app_name, app_title, app_enabled) values ('headlines', 'Headlines', 1); +insert into applications (app_name, app_title, app_enabled) values ('filemanager', 'File manager', 1); +insert into applications (app_name, app_title, app_enabled) values ('ftp', 'FTP', 1); +insert into applications (app_name, app_title, app_enabled) values ('addressbook', 'Address Book', 1); +insert into applications (app_name, app_title, app_enabled) values ('todo', 'ToDo List', 1); +insert into applications (app_name, app_title, app_enabled) values ('calendar', 'Calendar', 1); +insert into applications (app_name, app_title, app_enabled) values ('email', 'Email', 1); +insert into applications (app_name, app_title, app_enabled) values ('nntp', 'NNTP', 1); +insert into applications (app_name, app_title, app_enabled) values ('bookmarks', 'Bookmarks', 0); +insert into applications (app_name, app_title, app_enabled) values ('cron_apps', 'cron_apps', 0); +insert into applications (app_name, app_title, app_enabled) values ('napster', 'Napster', 0); + + diff --git a/doc/update_08072000_to_08212000.pgsql b/doc/update_08072000_to_08212000.pgsql new file mode 100755 index 0000000000..51259fef07 --- /dev/null +++ b/doc/update_08072000_to_08212000.pgsql @@ -0,0 +1,26 @@ +BEGIN WORK; + +create table applications ( + app_name varchar(25) NOT NULL, + app_title varchar(50), + app_enabled int, + unique(app_name) +); + +insert into applications (app_name, app_title, app_enabled) values ('admin', 'Administration', 1); +insert into applications (app_name, app_title, app_enabled) values ('tts', 'Trouble Ticket System', 1); +insert into applications (app_name, app_title, app_enabled) values ('inv', 'Inventory', 1); +insert into applications (app_name, app_title, app_enabled) values ('chat', 'Chat', 1); +insert into applications (app_name, app_title, app_enabled) values ('headlines', 'Headlines', 1); +insert into applications (app_name, app_title, app_enabled) values ('filemanager', 'File manager', 1); +insert into applications (app_name, app_title, app_enabled) values ('ftp', 'FTP', 1); +insert into applications (app_name, app_title, app_enabled) values ('addressbook', 'Address Book', 1); +insert into applications (app_name, app_title, app_enabled) values ('todo', 'ToDo List', 1); +insert into applications (app_name, app_title, app_enabled) values ('calendar', 'Calendar', 1); +insert into applications (app_name, app_title, app_enabled) values ('email', 'Email', 1); +insert into applications (app_name, app_title, app_enabled) values ('nntp', 'NNTP', 1); +insert into applications (app_name, app_title, app_enabled) values ('bookmarks', 'Bookmarks', 0); +insert into applications (app_name, app_title, app_enabled) values ('cron_apps', 'cron_apps', 0); +insert into applications (app_name, app_title, app_enabled) values ('napster', 'Napster', 0); + +COMMIT;