mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[feature] DB creation removed from mssql script, user namespace removed from oracle script, all removedb.sql deleted.
This commit is contained in:
committed by
Sergey Konovalov
parent
9822859572
commit
43f83015e0
@ -1,4 +0,0 @@
|
||||
--error: Try to drop default schema of user [ONLYOFFICE]
|
||||
--DROP SCHEMA onlyoffice;
|
||||
|
||||
DROP USER "ONLYOFFICE" CASCADE;
|
||||
@ -1,7 +1,7 @@
|
||||
CREATE DATABASE onlyoffice;
|
||||
GO
|
||||
-- CREATE DATABASE onlyoffice;
|
||||
-- GO
|
||||
|
||||
USE onlyoffice;
|
||||
-- USE onlyoffice;
|
||||
|
||||
CREATE TABLE doc_changes(
|
||||
tenant NVARCHAR(255) NOT NULL,
|
||||
@ -32,4 +32,4 @@ CREATE TABLE task_result (
|
||||
CONSTRAINT unsigned_task_result CHECK(change_id BETWEEN 0 AND 4294967295 AND user_index BETWEEN 0 AND 4294967295)
|
||||
);
|
||||
|
||||
GO
|
||||
GO
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
USE onlyoffice;
|
||||
DROP DATABASE IF EXISTS onlyoffice;
|
||||
@ -1 +0,0 @@
|
||||
DROP DATABASE IF EXISTS onlyoffice;
|
||||
@ -2,12 +2,12 @@
|
||||
-- Here, "onlyoffice" is a PBD(service) name.
|
||||
alter session set container = xepdb1;
|
||||
|
||||
-- In tables creation section "onlyoffice" is a user name.
|
||||
-- Oracle uses users as namespaces for tables creation. In "onlyoffice.table_name" onlyoffice is a user name, so table_name exist only at this namespace.
|
||||
-- ----------------------------
|
||||
-- Table structure for doc_changes
|
||||
-- ----------------------------
|
||||
|
||||
CREATE TABLE onlyoffice.doc_changes (
|
||||
CREATE TABLE doc_changes (
|
||||
tenant NVARCHAR2(255) NOT NULL,
|
||||
id NVARCHAR2(255) NOT NULL,
|
||||
change_id NUMBER NOT NULL,
|
||||
@ -24,7 +24,7 @@ CREATE TABLE onlyoffice.doc_changes (
|
||||
-- Table structure for task_result
|
||||
-- ----------------------------
|
||||
|
||||
CREATE TABLE onlyoffice.task_result (
|
||||
CREATE TABLE task_result (
|
||||
tenant NVARCHAR2(255) NOT NULL,
|
||||
id NVARCHAR2(255) NOT NULL,
|
||||
status NUMBER NOT NULL,
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
-- You must be logged in as SYS(sysdba) user.
|
||||
-- Here, "onlyoffice" is a PBD(service) name.
|
||||
alter session set container = xepdb1;
|
||||
|
||||
DROP USER onlyoffice CASCADE;
|
||||
@ -1 +0,0 @@
|
||||
DROP DATABASE IF EXISTS onlyoffice;
|
||||
Reference in New Issue
Block a user