1 dnl Copyright (C) 2013, 2014 The Meme Factory, Inc. http://www.meme.com/
3 dnl This file is part of Gombe-MI.
5 dnl Gombe-MI is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3 of the License, or
8 dnl (at your option) any later version.
10 dnl This program is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 dnl GNU General Public License for more details.
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with Gombe-MI. If not, see <http://www.gnu.org/licenses/>.
18 dnl Remove all access conversion functions from the database
20 dnl Karl O. Pinc <kop@meme.com>
23 include(`copyright.m4')
25 include(`constants.m4')
28 -- Remove all functions from the database so
29 -- we can re-create it with our creation scripts.
39 -- DROP FUNCTION FOO();
41 DROP FUNCTION prepared_data.convert_access(DATE, DATE);
42 DROP FUNCTION prepared_data.prepare_data();
43 DROP FUNCTION prepared_data.convert_animid(VARCHAR(gmi_animid_len), DATE);
44 DROP FUNCTION prepared_data.convert_food(DATE, VARCHAR(gmi_animid_len));
45 DROP FUNCTION prepared_data.convert_food(INT);
46 DROP FUNCTION prepared_data.convert_food(DATE, DATE);