dnl Copyright (C) 2013, 2014 The Meme Factory, Inc. http://www.meme.com/
dnl
dnl This file is part of Gombe-MI.
dnl
dnl Gombe-MI is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with Gombe-MI. If not, see .
dnl
dnl Remove all access conversion functions from the database
dnl
dnl Karl O. Pinc
dnl
dnl m4 includes
include(`copyright.m4')
include(`types.m4')
include(`constants.m4')
--
-- Remove all functions from the database so
-- we can re-create it with our creation scripts.
--
--
-- Functions
--
--
-- General purpose
--
-- DROP FUNCTION FOO();
DROP FUNCTION prepared_data.convert_access(DATE, DATE);
DROP FUNCTION prepared_data.prepare_data();
DROP FUNCTION prepared_data.convert_animid(VARCHAR(gmi_animid_len), DATE);
DROP FUNCTION prepared_data.convert_food(DATE, VARCHAR(gmi_animid_len));
DROP FUNCTION prepared_data.convert_food(INT);
DROP FUNCTION prepared_data.convert_food(DATE, DATE);