Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
MaarchCourrier
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Redmine
Redmine
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Maarch Labs
MaarchCourrier
Commits
5693d13b
Verified
Commit
5693d13b
authored
Aug 29, 2019
by
Damien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FEAT #11422 TIME 0:01 Refactoring
parent
5c863fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
1912.sql
migration/19.12/1912.sql
+2
-2
No files found.
migration/19.12/1912.sql
View file @
5693d13b
...
...
@@ -181,8 +181,6 @@ DELETE FROM usergroups_services WHERE service_id = 'join_res_case_in_process';
DELETE
FROM
usergroups_services
WHERE
service_id
=
'close_case'
;
DELETE
FROM
usergroups_services
WHERE
service_id
=
'add_cases'
;
DELETE
FROM
usergroups_services
WHERE
service_id
IN
(
'folder_search'
,
'view_folder_tree'
,
'select_folder'
,
'show_history_folder'
,
'modify_folder'
,
'associate_folder'
,
'delete_folder'
,
'admin_foldertypes'
,
'create_folder'
,
'folder_freeze'
,
'close_folder'
);
ALTER
TABLE
res_attachments
DROP
COLUMN
IF
EXISTS
folders_system_id
;
ALTER
TABLE
res_version_attachments
DROP
COLUMN
IF
EXISTS
folders_system_id
;
DELETE
FROM
notes
WHERE
origin
=
'folder'
;
/* REFACTORING MODIFICATION */
...
...
@@ -219,6 +217,8 @@ ALTER TABLE actions DROP COLUMN IF EXISTS origin;
ALTER
TABLE
actions
DROP
COLUMN
IF
EXISTS
create_id
;
ALTER
TABLE
actions
DROP
COLUMN
IF
EXISTS
category_id
;
DROP
VIEW
IF
EXISTS
fp_view_fileplan
;
ALTER
TABLE
res_attachments
DROP
COLUMN
IF
EXISTS
folders_system_id
;
ALTER
TABLE
res_version_attachments
DROP
COLUMN
IF
EXISTS
folders_system_id
;
/* RE CREATE VIEWS */
CREATE
OR
REPLACE
VIEW
res_view_letterbox
AS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment