module Galley.Schema.V93_ConferenceCallingSftForOneToOne where

import Cassandra.Schema
import Imports
import Text.RawString.QQ

migration :: Migration
migration :: Migration
migration =
  Int32 -> Text -> Client () -> Migration
Migration Int32
93 Text
"Add conference_calling_one_to_one and status to team_features" (Client () -> Migration) -> Client () -> Migration
forall a b. (a -> b) -> a -> b
$
    -- the existing field `conference_calling` is now repurposed to represent the lock status
    Text -> Client ()
schema'
      Text
[r| ALTER TABLE team_features ADD (
            conference_calling_one_to_one int,
            conference_calling_status int
        )
     |]