25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Merge pull request #3132 from area-42/publisher_mssql_text_to_varchar

change PubSub publisher from text to varchar for mssql
This commit is contained in:
Jérôme Sautret 2020-04-10 16:20:43 +02:00 committed by GitHub
commit b02506eaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,7 @@ WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW
CREATE TABLE [dbo].[pubsub_item] ( CREATE TABLE [dbo].[pubsub_item] (
[nodeid] [bigint] NULL, [nodeid] [bigint] NULL,
[itemid] [varchar] (255) NOT NULL, [itemid] [varchar] (255) NOT NULL,
[publisher] [text] NOT NULL, [publisher] [varchar] (250) NOT NULL,
[creation] [varchar] (32) NOT NULL, [creation] [varchar] (32) NOT NULL,
[modification] [varchar] (32) NOT NULL, [modification] [varchar] (32) NOT NULL,
[payload] [text] NOT NULL DEFAULT '' [payload] [text] NOT NULL DEFAULT ''