]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - README
Add an active indicator to player_elo.
[xonotic/xonstatdb.git] / README
diff --git a/README b/README
index e2d44b7e07544884a39b8bd9575f337e1e9b017b..d10121c82a1f95c969010c2eb562d7c65b616e85 100644 (file)
--- a/README
+++ b/README
@@ -17,22 +17,24 @@ Next, create the database itself:
         OWNER=xonstat
         CONNECTION LIMIT=-1;
 
+Next, log into the newly created database using the user account
+you just created:
+
+    psql -U xonstat xonstatdb
+
 Create the schema in which all of the xonstat tables will reside:
 
-CREATE SCHEMA xonstat
+    CREATE SCHEMA xonstat
        AUTHORIZATION xonstat;
 
-Navigate to the 'build' directory. Log into the database as the 
-admin user created above and issue the following to build the
-initial tables:
+Create the pgplsql language:
+
+    CREATE LANGUAGE plpgsql;
 
-    TODO
+Back in the command shell, navigate to the root directory. 
+Log into the database as the admin user created above and issue 
+the following to build the initial tables:
 
-TODO:
+    \i build/build_full.sql
 
-- Define indexes
-- Audit report SQL to verify index usage 
-- Review datatypes to ensure no truncation occurs. 
-- Review plurality in table names
-- Review for usage of serial datatypes in foreign keys
-- Review regular serials vs bigserials
+    *Note: You will see a lot of NOTICE messages. This is normal.