Prep for MS Teams plugin API (#25565)
* - columns added to ShareChannelRemotes: lastpostcreateat, lastpostupdateat - SyncMsg and SyncResponse moved to `model` package - field added to RemoteCluster struct: PluginID * sync new posts before updated posts to ensure post order in MS Teams * add plugid to remoteclusters table and store * don't sync history by default
Этот коммит содержится в:
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE RemoteClusters DROP COLUMN IF EXISTS PluginID;
|
||||
|
||||
ALTER TABLE SharedChannelRemotes DROP COLUMN IF EXISTS LastPostCreateAt;
|
||||
|
||||
ALTER TABLE SharedChannelRemotes DROP COLUMN IF EXISTS LastPostCreateID;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE RemoteClusters ADD COLUMN IF NOT EXISTS PluginID VARCHAR(190) NOT NULL DEFAULT '';
|
||||
|
||||
ALTER TABLE SharedChannelRemotes ADD COLUMN IF NOT EXISTS LastPostCreateAt bigint NOT NULL DEFAULT 0;
|
||||
|
||||
ALTER TABLE SharedChannelRemotes ADD COLUMN IF NOT EXISTS LastPostCreateID VARCHAR(26);
|
||||
|
||||
Ссылка в новой задаче
Block a user