From 33feca74ecd92c2907290f55f37b7736b4b37ec3 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 10 Mar 2011 20:28:46 +0100 Subject: Document that ODBC tables are created by ejabberd itself (EJAB-1421) --- src/odbc/mssql2000.sql | 5 +++++ src/odbc/mssql2005.sql | 5 +++++ src/odbc/mysql.sql | 5 +++++ src/odbc/pg.sql | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'src') 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, -- cgit v1.2.3