2020-06-13 21:49:31 +02:00
|
|
|
|
-- This gets run on every bot startup and makes sure we're starting from a clean slate
|
|
|
|
|
-- Then, the views/functions.sql files get run, and they recreate the necessary objects
|
|
|
|
|
-- This does mean we can't use any functions in row triggers, etc. Still unsure how to handle this.
|
|
|
|
|
|
|
|
|
|
drop view if exists system_last_switch;
|
|
|
|
|
drop view if exists system_fronters;
|
2020-06-12 20:29:50 +02:00
|
|
|
|
drop view if exists member_list;
|
2020-08-21 17:08:49 +02:00
|
|
|
|
drop view if exists group_list;
|
2020-06-12 23:13:21 +02:00
|
|
|
|
|
|
|
|
|
drop function if exists message_context;
|
2020-06-13 00:43:48 +02:00
|
|
|
|
drop function if exists proxy_members;
|
2020-10-19 03:50:51 -05:00
|
|
|
|
drop function if exists has_private_members;
|
2020-06-13 00:43:48 +02:00
|
|
|
|
drop function if exists generate_hid;
|
|
|
|
|
drop function if exists find_free_system_hid;
|
2020-06-29 23:51:12 +02:00
|
|
|
|
drop function if exists find_free_member_hid;
|
|
|
|
|
drop function if exists find_free_group_hid;
|