37 lines
885 B
PL/PgSQL
37 lines
885 B
PL/PgSQL
-- LegacyWorlds Beta 5
|
|
-- PostgreSQL database scripts
|
|
--
|
|
-- INSTALL.sql
|
|
--
|
|
-- Install the Legacy Worlds database
|
|
--
|
|
-- Copyright(C) 2004-2007, DeepClone Development
|
|
-- --------------------------------------------------------
|
|
|
|
|
|
-- Get all parameters from the environment
|
|
\getenv db_user_pass LW_DB_USER_PASS
|
|
\getenv db_admin_pass LW_DB_ADMIN_PASS
|
|
\getenv admin_name LW_ADMIN_NAME
|
|
\getenv admin_mail LW_ADMIN_MAIL
|
|
\getenv admin_password LW_ADMIN_PASSWORD
|
|
\getenv peacekeepers_password LW_PEACEKEEPERS_PASSWORD
|
|
|
|
|
|
\i 00-init.sql
|
|
\i 01-inheritance.sql
|
|
\i 10-main.sql
|
|
\i 11-main-enums.sql
|
|
\i 12-main-tables.sql
|
|
\i 13-main-donations.sql
|
|
\i 13-main-forums.sql
|
|
\i 13-main-links.sql
|
|
\i 13-main-manual.sql
|
|
\i 13-main-proxy.sql
|
|
\i 18-main-functions.sql
|
|
\i 19-main-values.sql
|
|
\i 25-ctf-maps.sql
|
|
\i 25-death-of-rats.sql
|
|
\i 25-predefined-alliances.sql
|
|
\i 30-beta5.sql
|
|
\i 50-beta6-planet-pictures.sql
|