diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-22 15:21:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-22 15:21:50 +0100 |
commit | 5ffa64ed1a5967b363475257fe248c04a72aa28a (patch) | |
tree | 31c68a10b0b26a95f901b5100f972e358ef14099 /src/namecache/namecache-drop.sql | |
parent | 7299f45d97d1dcc22d8155cfeb95939be6422bf4 (diff) | |
download | gnunet-5ffa64ed1a5967b363475257fe248c04a72aa28a.tar.gz gnunet-5ffa64ed1a5967b363475257fe248c04a72aa28a.zip |
modernize namecache postgres implementation
Diffstat (limited to 'src/namecache/namecache-drop.sql')
-rw-r--r-- | src/namecache/namecache-drop.sql | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/namecache/namecache-drop.sql b/src/namecache/namecache-drop.sql new file mode 100644 index 000000000..197ee78c1 --- /dev/null +++ b/src/namecache/namecache-drop.sql | |||
@@ -0,0 +1,25 @@ | |||
1 | -- | ||
2 | -- This file is part of GNUnet | ||
3 | -- Copyright (C) 2014--2022 GNUnet e.V. | ||
4 | -- | ||
5 | -- GNUnet is free software; you can redistribute it and/or modify it under the | ||
6 | -- terms of the GNU General Public License as published by the Free Software | ||
7 | -- Foundation; either version 3, or (at your option) any later version. | ||
8 | -- | ||
9 | -- GNUnet is distributed in the hope that it will be useful, but WITHOUT ANY | ||
10 | -- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR | ||
11 | -- A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
12 | -- | ||
13 | -- You should have received a copy of the GNU General Public License along with | ||
14 | -- GNUnet; see the file COPYING. If not, see <http://www.gnu.org/licenses/> | ||
15 | -- | ||
16 | |||
17 | -- Everything in one big transaction | ||
18 | BEGIN; | ||
19 | |||
20 | |||
21 | SELECT _v.unregister_patch('namecache-0001'); | ||
22 | |||
23 | DROP SCHEMA namecache CASCADE; | ||
24 | |||
25 | COMMIT; | ||