mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
add removetbl.sql for mysql
This commit is contained in:
@ -21,13 +21,6 @@
|
||||
CREATE DATABASE IF NOT EXISTS onlyoffice DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
||||
USE onlyoffice;
|
||||
|
||||
--
|
||||
-- Drop tables
|
||||
--
|
||||
DROP TABLE IF EXISTS `doc_callbacks`;
|
||||
DROP TABLE IF EXISTS `doc_changes`;
|
||||
DROP TABLE IF EXISTS `task_result`;
|
||||
|
||||
--
|
||||
-- Definition of table `doc_changes`
|
||||
--
|
||||
|
||||
@ -8,3 +8,4 @@ DROP TABLE IF EXISTS "public"."task_result";
|
||||
--https://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-UPSERT-EXAMPLE
|
||||
DROP FUNCTION IF EXISTS merge_db(_id varchar(255), _status int2, _status_info int8, _last_open_date timestamp without time zone, _title varchar(255), _user_index int8, _change_id int8, OUT isupdate char(5), OUT userindex int8) CASCADE;
|
||||
DROP FUNCTION IF EXISTS merge_db(_id varchar(255), _status int2, _status_info int4, _last_open_date timestamp without time zone, _title varchar(255), _user_index int4, _change_id int4, OUT isupdate char(5), OUT userindex int4) CASCADE;
|
||||
DROP FUNCTION IF EXISTS merge_db(_id varchar(255), _status int2, _status_info int4, _last_open_date timestamp without time zone, _user_index int4, _change_id int4, _callback text, _baseurl text, OUT isupdate char(5), OUT userindex int4) CASCADE;
|
||||
|
||||
6
schema/removetbl.sql
Normal file
6
schema/removetbl.sql
Normal file
@ -0,0 +1,6 @@
|
||||
--
|
||||
-- Drop tables
|
||||
--
|
||||
DROP TABLE IF EXISTS `doc_callbacks`;
|
||||
DROP TABLE IF EXISTS `doc_changes`;
|
||||
DROP TABLE IF EXISTS `task_result`;
|
||||
Reference in New Issue
Block a user