Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrouen-sk <roman@cervenak.info>2018-07-18 18:12:17 +0300
committerGitHub <noreply@github.com>2018-07-18 18:12:17 +0300
commitb199b683805d1d6297c1ed5e19ae88f4f7447581 (patch)
tree5c1c5b98e8f32f487098233fe17a4aa4b03cf971 /sql/mssql.sql
parente433a63105bbd24f790753371bd57c61a3f886b0 (diff)
Update mssql.sql
Fixed: - conflicting clustered indexes on 2 tables - semicolon type - Azure SQL incompatibility
Diffstat (limited to 'sql/mssql.sql')
-rw-r--r--sql/mssql.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/mssql.sql b/sql/mssql.sql
index c6a89311f..04798ee51 100644
--- a/sql/mssql.sql
+++ b/sql/mssql.sql
@@ -134,9 +134,9 @@ CREATE TABLE [dbo].[muc_online_users] (
node text NOT NULL
);
-CREATE UNIQUE CLUSTERED INDEX [muc_online_users_i] ON [muc_online_users] (username, server, resource, name, host)
+CREATE UNIQUE INDEX [muc_online_users_i] ON [muc_online_users] (username, server, resource, name, host)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
-CREATE UNIQUE CLUSTERED INDEX [muc_online_users_us] ON [muc_online_users] (username, server);
+CREATE UNIQUE CLUSTERED INDEX [muc_online_users_us] ON [muc_online_users] (username, server)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
CREATE TABLE [dbo].[muc_room_subscribers] (
@@ -529,7 +529,7 @@ CREATE TABLE [dbo].[bosh] (
(
[sid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
-) TEXTIMAGE_ON [PRIMARY];
+);
CREATE TABLE [dbo].[carboncopy] (
[username] [varchar] (255) NOT NULL,
@@ -555,5 +555,5 @@ CREATE TABLE [dbo].[push_session] (
CREATE UNIQUE CLUSTERED INDEX [i_push_usn] ON [push_session] (username, service, node)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
-CREATE UNIQUE CLUSTERED INDEX [i_push_ut] ON [push_session] (username, timestamp)
+CREATE UNIQUE INDEX [i_push_ut] ON [push_session] (username, timestamp)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);