aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 19:29:19 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 19:29:19 +0300
commit6691c59a7ab2993f186f9b3309f440cd60ae3bcb (patch)
tree56cfb471966a3c02b63fe590898ef729b2c7a960 /sql
parentUse disc_only_copies for oauth_token Mnesia table (diff)
Clean up database code related to mod_vcard_xupdate
Diffstat (limited to 'sql')
-rw-r--r--sql/lite.sql6
-rw-r--r--sql/mssql.sql10
-rw-r--r--sql/mysql.sql6
-rw-r--r--sql/pg.sql6
4 files changed, 0 insertions, 28 deletions
diff --git a/sql/lite.sql b/sql/lite.sql
index 1d057407f..1cc0c4dc5 100644
--- a/sql/lite.sql
+++ b/sql/lite.sql
@@ -116,12 +116,6 @@ CREATE TABLE vcard (
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
-CREATE TABLE vcard_xupdate (
- username text PRIMARY KEY,
- hash text NOT NULL,
- created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-
CREATE TABLE vcard_search (
username text NOT NULL,
lusername text PRIMARY KEY,
diff --git a/sql/mssql.sql b/sql/mssql.sql
index 72b490ecc..607acae8f 100644
--- a/sql/mssql.sql
+++ b/sql/mssql.sql
@@ -470,16 +470,6 @@ WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW
CREATE INDEX [vcard_search_lorgunit] ON [vcard_search] (lorgunit)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
-CREATE TABLE [dbo].[vcard_xupdate] (
- [username] [varchar] (250) NOT NULL,
- [hash] [text] NOT NULL,
- [created_at] [datetime] NOT NULL DEFAULT GETDATE(),
- CONSTRAINT [vcard_xupdate_PRIMARY] PRIMARY KEY CLUSTERED
-(
- [username] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
-) TEXTIMAGE_ON [PRIMARY];
-
ALTER TABLE [dbo].[pubsub_item] WITH CHECK ADD CONSTRAINT [pubsub_item_ibfk_1] FOREIGN KEY([nodeid])
REFERENCES [dbo].[pubsub_node] ([nodeid])
ON DELETE CASCADE;
diff --git a/sql/mysql.sql b/sql/mysql.sql
index c591cb761..3fddea510 100644
--- a/sql/mysql.sql
+++ b/sql/mysql.sql
@@ -121,12 +121,6 @@ CREATE TABLE vcard (
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-CREATE TABLE vcard_xupdate (
- username varchar(191) PRIMARY KEY,
- hash text NOT NULL,
- created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
-) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-
CREATE TABLE vcard_search (
username varchar(191) NOT NULL,
lusername varchar(191) PRIMARY KEY,
diff --git a/sql/pg.sql b/sql/pg.sql
index 539c1263a..f761e68da 100644
--- a/sql/pg.sql
+++ b/sql/pg.sql
@@ -120,12 +120,6 @@ CREATE TABLE vcard (
created_at TIMESTAMP NOT NULL DEFAULT now()
);
-CREATE TABLE vcard_xupdate (
- username text PRIMARY KEY,
- hash text NOT NULL,
- created_at TIMESTAMP NOT NULL DEFAULT now()
-);
-
CREATE TABLE vcard_search (
username text NOT NULL,
lusername text PRIMARY KEY,