File tree 4 files changed +38
-1
lines changed
4 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -1612,6 +1612,7 @@ CREATE TABLE galley_test.conversation (
1612
1612
access_role int ,
1613
1613
access_roles_v2 set < int > ,
1614
1614
cells_state int ,
1615
+ channel_add_permission int ,
1615
1616
cipher_suite int ,
1616
1617
creator uuid,
1617
1618
deleted boolean ,
Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ library
280
280
Galley.Schema.V95_TeamFeatureDataMigrationState
281
281
Galley.Schema.V96_GroupConversationType
282
282
Galley.Schema.V97_CellsConversation
283
+ Galley.Schema.V98_ChannelAddPermission
283
284
Galley.Types.Clients
284
285
Galley.Types.ToUserRole
285
286
Galley.Types.UserList
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ import Galley.Schema.V94_DomainRegistrationConfig qualified as V94_DomainRegistr
98
98
import Galley.Schema.V95_TeamFeatureDataMigrationState qualified as V95_TeamFeatureDataMigrationState
99
99
import Galley.Schema.V96_GroupConversationType qualified as V96_GroupConversationType
100
100
import Galley.Schema.V97_CellsConversation qualified as V97_CellsConversation
101
+ import Galley.Schema.V98_ChannelAddPermission qualified as V98_ChannelAddPermission
101
102
import Imports
102
103
import Options.Applicative
103
104
import System.Logger.Extended qualified as Log
@@ -196,7 +197,8 @@ migrations =
196
197
V94_DomainRegistrationConfig. migration,
197
198
V95_TeamFeatureDataMigrationState. migration,
198
199
V96_GroupConversationType. migration,
199
- V97_CellsConversation. migration
200
+ V97_CellsConversation. migration,
201
+ V98_ChannelAddPermission. migration
200
202
-- FUTUREWORK: once #1726 has made its way to master/production,
201
203
-- the 'message' field in connections table can be dropped.
202
204
-- See also https://github.com/wireapp/wire-server/pull/1747/files
Original file line number Diff line number Diff line change
1
+ -- This file is part of the Wire Server implementation.
2
+ --
3
+ -- Copyright (C) 2023 Wire Swiss GmbH <[email protected] >
4
+ --
5
+ -- This program is free software: you can redistribute it and/or modify it under
6
+ -- the terms of the GNU Affero General Public License as published by the Free
7
+ -- Software Foundation, either version 3 of the License, or (at your option) any
8
+ -- later version.
9
+ --
10
+ -- This program is distributed in the hope that it will be useful, but WITHOUT
11
+ -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ -- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
13
+ -- details.
14
+ --
15
+ -- You should have received a copy of the GNU Affero General Public License along
16
+ -- with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ module Galley.Schema.V98_ChannelAddPermission
18
+ ( migration ,
19
+ )
20
+ where
21
+
22
+ import Cassandra.Schema
23
+ import Imports
24
+ import Text.RawString.QQ
25
+
26
+ migration :: Migration
27
+ migration =
28
+ Migration 98 " add column channel_add_permission to conversation" $ do
29
+ schema'
30
+ [r | ALTER TABLE conversation ADD (
31
+ channel_add_permission int
32
+ )
33
+ |]
You can’t perform that action at this time.
0 commit comments