mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Do not throw postgres errors when views/types/functions to be dropped do not exist (yet). Fixes #43
This commit is contained in:
1 parent
a64b43b006
commit
0cdcce0a6c
4 files changed
+14
-12
No files matched your search
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
-- Create a composite type for the parts of the RRULE.
|
||||
DROP TYPE rrule_parts CASCADE;
|
||||
DROP TYPE IF EXISTS rrule_parts CASCADE;
|
||||
CREATE TYPE rrule_parts AS (
|
||||
base TIMESTAMP WITH TIME ZONE,
|
||||
until TIMESTAMP WITH TIME ZONE,
|
||||
@@ -680,7 +680,7 @@ $$ LANGUAGE plpgsql IMMUTABLE;
|
||||
|
||||
|
||||
-- Create a composite type for the parts of the RRULE.
|
||||
DROP TYPE rrule_instance CASCADE;
|
||||
DROP TYPE IF EXISTS rrule_instance CASCADE;
|
||||
CREATE TYPE rrule_instance AS (
|
||||
dtstart TIMESTAMP WITH TIME ZONE,
|
||||
rrule TEXT,
|
||||
|
||||
Reference in new issue
Block a user