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
|
-- ==============================================================
-- GNUmed database schema change script
--
-- Source database version: v2
-- Target database version: v3
--
-- What it does:
-- - create schema "ref"
--
-- License: GPL v2 or later
-- Author: Karsten Hilbert
--
-- ==============================================================
-- $Id: ref-schema.sql,v 1.2 2007-09-24 23:31:17 ncq Exp $
-- $Revision: 1.2 $
-- --------------------------------------------------------------
\set ON_ERROR_STOP 1
-- --------------------------------------------------------------
create schema ref authorization "gm-dbo";
comment on schema ref is
'This schema holds data that is "reference material" which comes
pre-installed with a GNUmed database. Examples are:
- document types
- ICD codes
- form templates';
grant usage on schema ref to group "gm-doctors";
-- --------------------------------------------------------------
select public.log_script_insertion('$RCSfile: ref-schema.sql,v $', '$Revision: 1.2 $');
-- ==============================================================
-- $Log: ref-schema.sql,v $
-- Revision 1.2 2007-09-24 23:31:17 ncq
-- - remove begin; commit; as it breaks the bootstrapper
--
-- Revision 1.1 2006/09/26 14:47:53 ncq
-- - those live here now
--
-- Revision 1.1 2006/09/18 17:30:43 ncq
-- - create schema ref and add document_type table
--
-- Revision 1.2 2006/09/16 21:47:37 ncq
-- - improvements
--
-- Revision 1.1 2006/09/16 14:02:36 ncq
-- - use this as a template for change scripts
--
--
|