]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - schemas/psql-destroy.sql
Patch from bug #1191108 "OCI8-create in rc3" by Anthony
[SourceForge/phpwiki.git] / schemas / psql-destroy.sql
1 -- $Id: psql-destroy.sql,v 1.3 2005-04-07 06:13:57 rurban Exp $
2
3 \set QUIET
4
5 --================================================================
6 -- Prefix for table names.
7 --
8 -- You should set this to the same value you specify for
9 -- $DBParams['prefix'] in index.php.
10
11 \set prefix     ''
12
13 --================================================================
14 --
15 -- Don't modify below this point unless you know what you are doing.
16 --
17 --================================================================
18
19 \set qprefix '\'' :prefix '\''
20 \echo Dropping all PhpWiki tables with:
21 \echo '       prefix = ' :qprefix
22 \echo
23
24 \set page_tbl           :prefix 'page'
25 \set version_tbl        :prefix 'version'
26 \set recent_tbl         :prefix 'recent'
27 \set nonempty_tbl       :prefix 'nonempty'
28 \set link_tbl           :prefix 'link'
29 \set session_tbl        :prefix 'session'
30 \set pref_tbl           :prefix 'pref'
31 -- \set user_tbl        :prefix 'user'
32 -- \set member_tbl      :prefix 'member'
33 \set rating_tbl         :prefix 'rating'
34 \set accesslog_tbl      :prefix 'accesslog'
35
36 \echo Dropping :page_tbl
37 DROP TABLE :page_tbl;
38
39 \echo Dropping :version_tbl
40 DROP TABLE :version_tbl;
41
42 \echo Dropping :recent_tbl
43 DROP TABLE :recent_tbl;
44
45 \echo Dropping :nonempty_tbl
46 DROP TABLE :nonempty_tbl;
47
48 \echo Dropping :link_tbl
49 DROP TABLE :link_tbl;
50
51 \echo Dropping :session_tbl
52 DROP TABLE :session_tbl;
53
54 \echo Dropping :pref_tbl
55 DROP TABLE :pref_tbl;
56
57 -- DROP TABLE :user_tbl;
58 -- DROP TABLE :member_tbl;
59
60 \echo Dropping :rating_tbl
61 DROP TABLE :rating_tbl;
62
63 \echo Dropping :accesslog_tbl
64 DROP TABLE :accesslog_tbl;
65