Report #42: New Installer
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# $Id: $
|
||||
#
|
||||
|
||||
|
||||
# Table: 'phpbb_portal_config'
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||
config_value VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL
|
||||
);;
|
||||
|
||||
ALTER TABLE phpbb_portal_config ADD PRIMARY KEY (config_name);;
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
|
||||
$Id: $
|
||||
|
||||
*/
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
/*
|
||||
Table: 'phpbb_portal_config'
|
||||
*/
|
||||
CREATE TABLE [phpbb_portal_config] (
|
||||
[config_name] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[config_value] [varchar] (255) DEFAULT ('') NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_portal_config] WITH NOCHECK ADD
|
||||
CONSTRAINT [PK_phpbb_portal_config] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[config_name]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#
|
||||
# $Id: $
|
||||
#
|
||||
|
||||
# Table: 'phpbb_portal_config'
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name varbinary(255) DEFAULT '' NOT NULL,
|
||||
config_value varbinary(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (config_name)
|
||||
);
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#
|
||||
# $Id: $
|
||||
#
|
||||
|
||||
# Table: 'phpbb_portal_config'
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name varchar(255) DEFAULT '' NOT NULL,
|
||||
config_value varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (config_name)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
/*
|
||||
|
||||
$Id: $
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
This first section is optional, however its probably the best method
|
||||
|
||||
of running phpBB on Oracle. If you already have a tablespace and user created
|
||||
|
||||
for phpBB you can leave this section commented out!
|
||||
|
||||
|
||||
|
||||
The first set of statements create a phpBB tablespace and a phpBB user,
|
||||
|
||||
make sure you change the password of the phpBB user before you run this script!!
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
CREATE TABLESPACE "PHPBB"
|
||||
|
||||
LOGGING
|
||||
|
||||
DATAFILE 'E:\ORACLE\ORADATA\LOCAL\PHPBB.ora'
|
||||
|
||||
SIZE 10M
|
||||
|
||||
AUTOEXTEND ON NEXT 10M
|
||||
|
||||
MAXSIZE 100M;
|
||||
|
||||
|
||||
|
||||
CREATE USER "PHPBB"
|
||||
|
||||
PROFILE "DEFAULT"
|
||||
|
||||
IDENTIFIED BY "phpbb_password"
|
||||
|
||||
DEFAULT TABLESPACE "PHPBB"
|
||||
|
||||
QUOTA UNLIMITED ON "PHPBB"
|
||||
|
||||
ACCOUNT UNLOCK;
|
||||
|
||||
|
||||
|
||||
GRANT ANALYZE ANY TO "PHPBB";
|
||||
|
||||
GRANT CREATE SEQUENCE TO "PHPBB";
|
||||
|
||||
GRANT CREATE SESSION TO "PHPBB";
|
||||
|
||||
GRANT CREATE TABLE TO "PHPBB";
|
||||
|
||||
GRANT CREATE TRIGGER TO "PHPBB";
|
||||
|
||||
GRANT CREATE VIEW TO "PHPBB";
|
||||
|
||||
GRANT "CONNECT" TO "PHPBB";
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
|
||||
DISCONNECT;
|
||||
|
||||
|
||||
|
||||
CONNECT phpbb/phpbb_password;
|
||||
|
||||
*/
|
||||
/*
|
||||
Table: 'phpbb_portal_config'
|
||||
*/
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name varchar2(255) DEFAULT '' ,
|
||||
config_value varchar2(255) DEFAULT '' ,
|
||||
CONSTRAINT pk_phpbb_portal_config PRIMARY KEY (config_name)
|
||||
)
|
||||
/
|
||||
|
||||
|
||||
@@ -1,169 +0,0 @@
|
||||
/*
|
||||
|
||||
$Id: $
|
||||
|
||||
*/
|
||||
|
||||
BEGIN;
|
||||
|
||||
/*
|
||||
|
||||
Domain definition
|
||||
|
||||
*/
|
||||
|
||||
CREATE DOMAIN varchar_ci AS varchar(255) NOT NULL DEFAULT ''::character varying;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Operation Functions
|
||||
|
||||
*/
|
||||
|
||||
CREATE FUNCTION _varchar_ci_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) = LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
CREATE FUNCTION _varchar_ci_not_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) != LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
CREATE FUNCTION _varchar_ci_less_than(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) < LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
CREATE FUNCTION _varchar_ci_less_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) <= LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
CREATE FUNCTION _varchar_ci_greater_than(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) > LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
CREATE FUNCTION _varchar_ci_greater_equals(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) >= LOWER($2)' LANGUAGE SQL STRICT;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Operators
|
||||
|
||||
*/
|
||||
|
||||
CREATE OPERATOR <(
|
||||
|
||||
PROCEDURE = _varchar_ci_less_than,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = >,
|
||||
|
||||
NEGATOR = >=,
|
||||
|
||||
RESTRICT = scalarltsel,
|
||||
|
||||
JOIN = scalarltjoinsel);
|
||||
|
||||
|
||||
|
||||
CREATE OPERATOR <=(
|
||||
|
||||
PROCEDURE = _varchar_ci_less_equal,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = >=,
|
||||
|
||||
NEGATOR = >,
|
||||
|
||||
RESTRICT = scalarltsel,
|
||||
|
||||
JOIN = scalarltjoinsel);
|
||||
|
||||
|
||||
|
||||
CREATE OPERATOR >(
|
||||
|
||||
PROCEDURE = _varchar_ci_greater_than,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = <,
|
||||
|
||||
NEGATOR = <=,
|
||||
|
||||
RESTRICT = scalargtsel,
|
||||
|
||||
JOIN = scalargtjoinsel);
|
||||
|
||||
|
||||
|
||||
CREATE OPERATOR >=(
|
||||
|
||||
PROCEDURE = _varchar_ci_greater_equals,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = <=,
|
||||
|
||||
NEGATOR = <,
|
||||
|
||||
RESTRICT = scalargtsel,
|
||||
|
||||
JOIN = scalargtjoinsel);
|
||||
|
||||
|
||||
|
||||
CREATE OPERATOR <>(
|
||||
|
||||
PROCEDURE = _varchar_ci_not_equal,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = <>,
|
||||
|
||||
NEGATOR = =,
|
||||
|
||||
RESTRICT = neqsel,
|
||||
|
||||
JOIN = neqjoinsel);
|
||||
|
||||
|
||||
|
||||
CREATE OPERATOR =(
|
||||
|
||||
PROCEDURE = _varchar_ci_equal,
|
||||
|
||||
LEFTARG = varchar_ci,
|
||||
|
||||
RIGHTARG = varchar_ci,
|
||||
|
||||
COMMUTATOR = =,
|
||||
|
||||
NEGATOR = <>,
|
||||
|
||||
RESTRICT = eqsel,
|
||||
|
||||
JOIN = eqjoinsel,
|
||||
|
||||
HASHES,
|
||||
|
||||
MERGES,
|
||||
|
||||
SORT1= <);
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_portal_config'
|
||||
*/
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name varchar(255) DEFAULT '' NOT NULL,
|
||||
config_value varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (config_name)
|
||||
);
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
@@ -1,68 +0,0 @@
|
||||
#
|
||||
# $Id: schema_data.sql,v 1.257 2007/09/20 21:19:00 stoffel04 Exp $
|
||||
#
|
||||
|
||||
# POSTGRES BEGIN #
|
||||
|
||||
# -- Config
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_welcome_intro', 'Welcome to my community!');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_max_online_friends', '8');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_max_most_poster', '8');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_max_last_member', '8');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_welcome', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_links', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_link_us', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_clock', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_random_member', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_latest_members', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_top_posters', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_advanced_stat', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_version', '0.1.0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_welcome_guest', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_birthdays', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_search', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_friends', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_whois_online', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_change_style', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_main_menu', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_user_menu', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_right_collumn_width', '180');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_left_collumn_width', '180');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_poll_topic', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_poll_topic_id', '2');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_last_visited_bots_number', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_load_last_visited_bots', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_pay_acc', 'your@paypal.com');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_pay_s_block', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_pay_c_block', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_recent', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_recent_title_limit', '100');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_max_topics', '10');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_exclude_forums', '');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news_forum', '2');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news_length', '250');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_number_of_news', '5');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_all_news', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news_style', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements_style', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_number_of_announcements', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements_day', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements_length', '200');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_global_announcements_forum', '2');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_wordgraph_word_counts', '0');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_wordgraph_max_words', '80');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_wordgraph', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_wordgraph_ratio', '18');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_minicalendar', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_minicalendar_today_color', '//FF0000');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_minicalendar_day_link_color', '//006F00');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_attachments', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_attachments_number', '8');
|
||||
|
||||
|
||||
|
||||
# POSTGRES COMMIT #
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# $Id: $
|
||||
#
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
# Table: 'phpbb_portal_config'
|
||||
CREATE TABLE phpbb_portal_config (
|
||||
config_name varchar(255) NOT NULL DEFAULT '',
|
||||
config_value varchar(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (config_name)
|
||||
);
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user