File: v21-dem-identity-static.sql

package info (click to toggle)
gnumed-server 22.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 46,268 kB
  • sloc: sql: 1,217,633; python: 15,878; sh: 1,590; makefile: 20
file content (30 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (5)
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
-- ==============================================================
-- GNUmed database schema change script
--
-- License: GPL v2 or later
-- Author: karsten.hilbert@gmx.net
--
-- ==============================================================
\set ON_ERROR_STOP 1
--set default_transaction_read_only to off;

-- --------------------------------------------------------------
alter table dem.identity
	drop column pupic cascade;

alter table audit.log_identity
	drop column pupic;

-- --------------------------------------------------------------
drop table if exists de_de.behandlungsfall cascade;

drop table if exists audit.log_behandlungsfall cascade;

delete from audit.audited_tables where
	schema = 'de_de'
		and
	table_name = 'behandlungsfall'
;

-- --------------------------------------------------------------
select gm.log_script_insertion('v21-dem-identity-static.sql', '21.0');