{-# LANGUAGE QuasiQuotes #-}

module Simplex.Chat.Migrations.M20240827_calls_uuid where

import Database.SQLite.Simple (Query)
import Database.SQLite.Simple.QQ (sql)

m20240827_calls_uuid :: Query
m20240827_calls_uuid =
  [sql|
ALTER TABLE calls ADD COLUMN call_uuid TEXT NOT NULL DEFAULT "";
|]

down_m20240827_calls_uuid :: Query
down_m20240827_calls_uuid =
  [sql|
ALTER TABLE calls DROP COLUMN call_uuid;
|]
