]> granicus.if.org Git - ejabberd/commitdiff
Document that ODBC tables are created by ejabberd itself (EJAB-1421)
authorBadlop <badlop@process-one.net>
Thu, 10 Mar 2011 19:28:46 +0000 (20:28 +0100)
committerBadlop <badlop@process-one.net>
Thu, 10 Mar 2011 19:29:07 +0000 (20:29 +0100)
doc/guide.tex
doc/release_notes_3.0.0.txt
src/odbc/mssql2000.sql
src/odbc/mssql2005.sql
src/odbc/mysql.sql
src/odbc/pg.sql

index 381eef3426b8a0c8f0a98639e89ae481388b9348..58f11f76a95ce3a7c209dbfaa1b5ed5e04eeb971 100644 (file)
@@ -1920,7 +1920,9 @@ produces this result after being interpreted:
 \ind{database}
 %TODO: this whole section is not yet 100% optimized
 
-\ejabberd{} uses its internal Mnesia database by default. However, it is
+\ejabberd{} uses the Erlang/OTP internal 
+\footahref{http://www.erlang.org/doc/apps/mnesia/index.html}{Mnesia}
+database by default. However, it is
 possible to use a relational database or an LDAP server to store persistent,
 long-living data. \ejabberd{} is very flexible: you can configure different
 authentication methods for different virtual hosts, you can configure different
@@ -1929,13 +1931,13 @@ different storage systems for modules, and so forth.
 
 The following databases are supported by \ejabberd{}:
 \begin{itemize}
-\item \footahref{http://www.microsoft.com/sql/}{Microsoft SQL Server}
-\item \footahref{http://www.erlang.org/doc/apps/mnesia/index.html}{Mnesia}
-\item \footahref{http://www.mysql.com/}{MySQL}
-\item \footahref{http://en.wikipedia.org/wiki/Open\_Database\_Connectivity}{Any ODBC compatible database}
-\item \footahref{http://www.postgresql.org/}{PostgreSQL}
+\item \footahref{http://www.mysql.com/}{MySQL}, see section~\ref{mysql}
+\item \footahref{http://www.postgresql.org/}{PostgreSQL}, see section~\ref{pgsql}
+\item \footahref{http://www.microsoft.com/sql/}{Microsoft SQL Server}, see section~\ref{mssql}
+\item \footahref{http://en.wikipedia.org/wiki/Open\_Database\_Connectivity}{Any ODBC compatible database}, see section~\ref{odbc}
 \end{itemize}
 
+For LDAP configuration details, see section~\ref{ldap}.
 The following LDAP servers are tested with \ejabberd{}:
 \begin{itemize}
 \item \footahref{http://www.microsoft.com/activedirectory/}{Active Directory}
@@ -1970,9 +1972,8 @@ database creation. Check the MySQL documentation and the tutorial \footahref{htt
 Note that the tutorial contains information about \ejabberd{}'s configuration
 which is duplicate to this section.
 
-Moreover, the file mysql.sql in the directory src/odbc might be interesting for
-you. This file contains the \ejabberd{} schema for MySQL. At the end of the file
-you can find information to update your database schema.
+ejabberd automatically creates the tables and updates their schema if needed.
+The file mysql.sql in the directory src/odbc is provided only as reference.
 
 
 \makesubsubsection{compilemysql}{Driver Compilation}
@@ -2063,9 +2064,8 @@ tutorial \footahref{http://support.process-one.net/doc/display/MESSENGER/Using+e
 Note that the tutorial contains information about \ejabberd{}'s configuration
 which is duplicate to this section.
 
-Moreover, the file mssql.sql in the directory src/odbc might be interesting for
-you. This file contains the \ejabberd{} schema for Microsoft SQL Server. At the end
-of the file you can find information to update your database schema.
+ejabberd automatically creates the tables and updates their schema if needed.
+The file mssql.sql in the directory src/odbc is provided only as reference.
 
 
 \makesubsubsection{compilemssql}{Driver Compilation}
@@ -2115,9 +2115,8 @@ and database creation. Check the PostgreSQL documentation and the tutorial \foot
 Note that the tutorial contains information about \ejabberd{}'s configuration
 which is duplicate to this section.
 
-Also the file pg.sql in the directory src/odbc might be interesting for you.
-This file contains the \ejabberd{} schema for PostgreSQL. At the end of the file
-you can find information to update your database schema.
+ejabberd automatically creates the tables and updates their schema if needed.
+The file pg.sql in the directory src/odbc is provided only as reference.
 
 
 \makesubsubsection{compilepgsql}{Driver Compilation}
@@ -2204,6 +2203,7 @@ of your database. Check the documentation of your database. The tutorial \footah
 contains information about \ejabberd{}'s configuration which is duplicate to
 this section.
 
+ejabberd automatically creates the tables and updates their schema if needed.
 
 \makesubsubsection{compileodbc}{Driver Compilation}
 
index 0791ac9955df22a9ae2e1134f054e1e8a3abbb2f..e33cfcbe03863f878c7bf11aa6bf88aa4dbc9189 100644 (file)
@@ -37,9 +37,9 @@ ejabberd 3.0.0 includes three major changes:
 * gen_storage (abbreviated GS) provides a database abstraction layer,
   which supports storage in Mnesia and in ODBC databases.
   Several ejabberd modules use GS, like mod_roster and ejabberd_auth_storage.
-  The schema of the tables stored by those modules have changed,
-  and ejabberd migrates automatically your mnesia and ODBC
-  tables from previous ejabberd releases.
+  The schema of the tables stored by those modules have changed.
+  ejabberd automatically creates mnesia and ODBC tables,
+  and migrates them from a previous ejabberd version.
 
 * Massive Hosting (abbreviated MH) is preliminary implemented in ejabberd,
   but it is still incomplete, untested and undocumented.
index f8c45697000909d7deefa4f4910117309136eb1c..da38f50767e1ff2a4a7bbaf69fd35fdc92cf7f40 100644 (file)
  *\r
  */\r
 \r
+/*   WARNING !!!\r
+ * ejabberd creates the tables automatically.\r
+ * This file is obsolete.\r
+ * Read the ejabberd modules source code for up-to-date table schema. */\r
+\r
 SET ANSI_NULLS ON\r
 GO\r
 SET QUOTED_IDENTIFIER ON\r
index 8420b7690e309884a69c4c32d50e1fe697d06807..b9053d89e6dd4cbd0a2e322625097beb30870d77 100644 (file)
  *
  */
 
+/*   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
index 2e2d672fb42941de8862256e07082ed9f280d659..891b4a3eefe541c1cb301f3c48c4991054c07bcc 100644 (file)
 -- 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;
 
index 1cbd220a6e47555e3fefeebad42642b99d06879e..91ccc24fdd51a9e5a6165201b3ddc2dd42402699 100644 (file)
 -- 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,