diff --git a/hive/db/schema.py b/hive/db/schema.py index b977e4aaabf6187b43d66a835725b13a4f643af8..17cd773eaaadb24d74662c1fc6e30e3cc8c7ab16 100644 --- a/hive/db/schema.py +++ b/hive/db/schema.py @@ -585,7 +585,7 @@ def setup(db): db.query_no_return(sql) sql = """ - DROP VIEW public.vw_hive_posts; + DROP VIEW IF EXISTS public.vw_hive_posts; CREATE OR REPLACE VIEW public.vw_hive_posts AS