From 00ccb119eacc729c5bb622d6adbfb1a2cd00e415 Mon Sep 17 00:00:00 2001 From: Christoph Scholz Date: Fri, 27 Dec 2019 13:05:18 +0100 Subject: allow storage of emojis in archive on mssql --- sql/mssql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql') diff --git a/sql/mssql.sql b/sql/mssql.sql index 7c3713b76..7aca5933b 100644 --- a/sql/mssql.sql +++ b/sql/mssql.sql @@ -26,8 +26,8 @@ CREATE TABLE [dbo].[archive] ( [timestamp] [bigint] NOT NULL, [peer] [varchar] (250) NOT NULL, [bare_peer] [varchar] (250) NOT NULL, - [xml] [text] NOT NULL, - [txt] [text] NULL, + [xml] [ntext] NOT NULL, + [txt] [ntext] NULL, [id] [bigint] IDENTITY(1,1) NOT NULL, [kind] [varchar] (10) NULL, [nick] [varchar] (250) NULL, -- cgit v1.2.3