/var/lib/gnumed/server/sql/gmServices.sql is in gnumed-server 16.17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | -- =============================================
-- GNUmed service discovery tables
-- $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/server/sql/gmServices.sql,v $
-- $Id: gmServices.sql,v 1.8 2005-09-19 16:38:51 ncq Exp $
-- license: GPL v2 or later
-- author: Karsten.Hilbert@gmx.net
-- ---------------------------------------------
-- Import this file into any database you create and
-- insert data about which services it provides. This
-- is very useful for introspection and we all love that
-- from Python. It may also come in handy when debugging
-- live production databases.
-- =============================================
-- force terminate + exit(3) on errors if non-interactive
\set ON_ERROR_STOP 1
-- ---------------------------------------------
create table gm_services (
id serial primary key,
name text unique,
version text,
created timestamp with time zone DEFAULT CURRENT_TIMESTAMP
);
comment on table gm_services is
'this table lists all the services provided by this database';
comment on column gm_services.version is
'not really used yet but will become useful in change management,
might take the form of a CVS release tag one day';
-- =============================================
\unset ON_ERROR_STOP
-- do simple schema revision tracking
INSERT INTO gm_schema_revision (filename, version) VALUES('$RCSfile: gmServices.sql,v $', '$Revision: 1.8 $');
-- =============================================
-- $Log: gmServices.sql,v $
-- Revision 1.8 2005-09-19 16:38:51 ncq
-- - adjust to removed is_core from gm_schema_revision
--
-- Revision 1.7 2005/07/14 21:31:42 ncq
-- - partially use improved schema revision tracking
--
-- Revision 1.6 2005/03/01 20:38:19 ncq
-- - varchar -> text
--
-- Revision 1.5 2003/06/10 08:56:59 ncq
-- - schema_revision -> gm_schema_revision
--
-- Revision 1.4 2003/05/12 12:43:39 ncq
-- - gmI18N, gmServices and gmSchemaRevision are imported globally at the
-- database level now, don't include them in individual schema file anymore
--
-- Revision 1.3 2003/01/22 23:09:47 ncq
-- - enable this to be imported more than once
--
-- Revision 1.2 2003/01/22 16:12:09 ncq
-- - gm_services.service_name -> gm_services.name
--
-- Revision 1.1 2003/01/02 01:20:31 ncq
-- - initial version
--
|