aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-03-10 20:28:46 +0100
committerBadlop <badlop@process-one.net>2011-03-10 20:29:07 +0100
commit33feca74ecd92c2907290f55f37b7736b4b37ec3 (patch)
tree76317213e01e7a19794b7aaa39c99d5134def3b0 /src
parentOnly attempt to migrate an old ODBC table if it still exists (diff)
Document that ODBC tables are created by ejabberd itself (EJAB-1421)
Diffstat (limited to 'src')
-rw-r--r--src/odbc/mssql2000.sql5
-rw-r--r--src/odbc/mssql2005.sql5
-rw-r--r--src/odbc/mysql.sql5
-rw-r--r--src/odbc/pg.sql5
4 files changed, 20 insertions, 0 deletions
diff --git a/src/odbc/mssql2000.sql b/src/odbc/mssql2000.sql
index f8c456970..da38f5076 100644
--- a/src/odbc/mssql2000.sql
+++ b/src/odbc/mssql2000.sql
@@ -18,6 +18,11 @@
*
*/
+/* WARNING !!!
+ * ejabberd creates the tables automatically.
+ * This file is obsolete.
+ * Read the ejabberd modules source code for up-to-date table schema. */
+
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
diff --git a/src/odbc/mssql2005.sql b/src/odbc/mssql2005.sql
index 8420b7690..b9053d89e 100644
--- a/src/odbc/mssql2005.sql
+++ b/src/odbc/mssql2005.sql
@@ -18,6 +18,11 @@
*
*/
+/* WARNING !!!
+ * ejabberd creates the tables automatically.
+ * This file is obsolete.
+ * Read the ejabberd modules source code for up-to-date table schema. */
+
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
diff --git a/src/odbc/mysql.sql b/src/odbc/mysql.sql
index 2e2d672fb..891b4a3ee 100644
--- a/src/odbc/mysql.sql
+++ b/src/odbc/mysql.sql
@@ -17,6 +17,11 @@
-- 02111-1307 USA
--
+-- WARNING !!!
+-- ejabberd creates the tables automatically.
+-- This file is obsolete.
+-- Read the ejabberd modules source code for up-to-date table schema.
+
-- Needs MySQL (at least 4.0.x) with innodb back-end
SET table_type=InnoDB;
diff --git a/src/odbc/pg.sql b/src/odbc/pg.sql
index 1cbd220a6..91ccc24fd 100644
--- a/src/odbc/pg.sql
+++ b/src/odbc/pg.sql
@@ -17,6 +17,11 @@
-- 02111-1307 USA
--
+-- WARNING !!!
+-- ejabberd creates the tables automatically.
+-- This file is obsolete.
+-- Read the ejabberd modules source code for up-to-date table schema.
+
CREATE TABLE users (
username text NOT NULL,
host text NOT NULL,