-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Email does not appear in the new folder after moving #78
- Loading branch information
zaharchenko
committed
Mar 26, 2019
1 parent
5dfc14c
commit 4ca8db9
Showing
19 changed files
with
77 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
modules/core/db/update/hsql/19/190326-2-updateMessageSync.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
alter table IMAP_MESSAGE_SYNC alter column NEW_FOLDER_ID rename to OLD_FOLDER_ID ^ | ||
drop index IDX_IMAP_MESSAGE_SYNC_NEW_FOLDER ; | ||
alter table IMAP_MESSAGE_SYNC drop constraint FK_IMAP_MESSAGE_SYNC_NEW_FOLDER ; |
2 changes: 2 additions & 0 deletions
2
modules/core/db/update/hsql/19/190326-2-updateMessageSync01.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
alter table IMAP_MESSAGE_SYNC add constraint FK_IMAP_MESSAGE_SYNC_OLD_FOLDER foreign key (OLD_FOLDER_ID) references IMAP_FOLDER(ID); | ||
create index IDX_IMAP_MESSAGE_SYNC_OLD_FOLDER on IMAP_MESSAGE_SYNC (OLD_FOLDER_ID); |
1 change: 1 addition & 0 deletions
1
modules/core/db/update/hsql/19/190326-2-updateMessageSync_DropScript.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table IMAP_MESSAGE_SYNC drop column NEW_FOLDER_NAME; |
12 changes: 6 additions & 6 deletions
12
modules/core/db/update/postgres/19/190322-3-addSyncMessageTask.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
insert into SYS_SCHEDULED_TASK | ||
(ID, CREATE_TS, CREATED_BY, UPDATE_TS, UPDATED_BY, DELETE_TS, DELETED_BY, DEFINED_BY, BEAN_NAME, METHOD_NAME, CLASS_NAME, SCRIPT_NAME, USER_NAME, IS_SINGLETON, IS_ACTIVE, PERIOD, TIMEOUT, START_DATE, CRON, SCHEDULING_TYPE, TIME_FRAME, START_DELAY, PERMITTED_SERVERS, LOG_START, LOG_FINISH, LAST_START_TIME, LAST_START_SERVER, METHOD_PARAMS, DESCRIPTION) | ||
values ('1082fe3b-3b75-d2f2-d858-dbae487c4549', '2019-03-22 10:26:18', 'admin', '2019-03-22 10:26:18', null, null, null, 'B', 'imap_ImapScheduler', 'syncImap', null, null, null, null, null, 30, null, null, null, 'P', null, null, null, true, true, null, null, '<?xml version="1.0" encoding="UTF-8"?> | ||
<params/> | ||
', null); | ||
--insert into SYS_SCHEDULED_TASK | ||
--(ID, CREATE_TS, CREATED_BY, UPDATE_TS, UPDATED_BY, DELETE_TS, DELETED_BY, DEFINED_BY, BEAN_NAME, METHOD_NAME, CLASS_NAME, SCRIPT_NAME, USER_NAME, IS_SINGLETON, IS_ACTIVE, PERIOD, TIMEOUT, START_DATE, CRON, SCHEDULING_TYPE, TIME_FRAME, START_DELAY, PERMITTED_SERVERS, LOG_START, LOG_FINISH, LAST_START_TIME, LAST_START_SERVER, METHOD_PARAMS, DESCRIPTION) | ||
--values ('1082fe3b-3b75-d2f2-d858-dbae487c4549', '2019-03-22 10:26:18', 'admin', '2019-03-22 10:26:18', null, null, null, 'B', 'imap_ImapScheduler', 'syncImap', null, null, null, null, null, 30, null, null, null, 'P', null, null, null, true, true, null, null, '<?xml version="1.0" encoding="UTF-8"?> | ||
-- | ||
--<params/> | ||
--', null); |
3 changes: 3 additions & 0 deletions
3
modules/core/db/update/postgres/19/190326-2-updateMessageSync.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
alter table IMAP_MESSAGE_SYNC rename column NEW_FOLDER_ID to OLD_FOLDER_ID ^ | ||
drop index IDX_IMAP_MESSAGE_SYNC_NEW_FOLDER ; | ||
alter table IMAP_MESSAGE_SYNC drop constraint FK_IMAP_MESSAGE_SYNC_NEW_FOLDER ; |
2 changes: 2 additions & 0 deletions
2
modules/core/db/update/postgres/19/190326-2-updateMessageSync01.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
alter table IMAP_MESSAGE_SYNC add constraint FK_IMAP_MESSAGE_SYNC_OLD_FOLDER foreign key (OLD_FOLDER_ID) references IMAP_FOLDER(ID); | ||
create index IDX_IMAP_MESSAGE_SYNC_OLD_FOLDER on IMAP_MESSAGE_SYNC (OLD_FOLDER_ID); |
1 change: 1 addition & 0 deletions
1
modules/core/db/update/postgres/19/190326-2-updateMessageSync_DropScript.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table IMAP_MESSAGE_SYNC drop column NEW_FOLDER_NAME; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters