aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-08-20 12:59:15 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-08-20 12:59:15 +0000
commit80162a8145d1d3c5a75a7651bb1efe2daee5245f (patch)
tree2129beb210bdbf156177e52a4a66df792ee8ceaa /phpBB/install
parent9db68f5d4e8d6fbe52ae69d901f661986e5e1aac (diff)
downloadforums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.gz
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.bz2
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.xz
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.zip
Minor schema change related to avatars so that they can be > 127px in size
Add additional note about the install directory Remove some empty tags from the template git-svn-id: file:///svn/phpbb/trunk@6305 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/schemas/mysql_schema.sql4
-rw-r--r--phpBB/install/schemas/postgres_schema.sql4
-rw-r--r--phpBB/install/schemas/sqlite_schema.sql4
3 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql
index c9e7009bd0..a90917ccc6 100644
--- a/phpBB/install/schemas/mysql_schema.sql
+++ b/phpBB/install/schemas/mysql_schema.sql
@@ -1006,8 +1006,8 @@ CREATE TABLE phpbb_users (
user_options int(11) UNSIGNED DEFAULT '893' NOT NULL,
user_avatar varchar(255) DEFAULT '' NOT NULL,
user_avatar_type tinyint(2) DEFAULT '0' NOT NULL,
- user_avatar_width tinyint(4) DEFAULT '0' NOT NULL,
- user_avatar_height tinyint(4) DEFAULT '0' NOT NULL,
+ user_avatar_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
+ user_avatar_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
user_sig mediumtext DEFAULT '' NOT NULL,
user_sig_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
user_sig_bbcode_bitfield varchar(252) DEFAULT '' NOT NULL,
diff --git a/phpBB/install/schemas/postgres_schema.sql b/phpBB/install/schemas/postgres_schema.sql
index de2f314171..7a4b3662b0 100644
--- a/phpBB/install/schemas/postgres_schema.sql
+++ b/phpBB/install/schemas/postgres_schema.sql
@@ -1266,8 +1266,8 @@ CREATE TABLE phpbb_users (
user_options INT4 DEFAULT '893' NOT NULL CHECK (user_options >= 0),
user_avatar varchar(255) DEFAULT '' NOT NULL,
user_avatar_type INT2 DEFAULT '0' NOT NULL,
- user_avatar_width INT2 DEFAULT '0' NOT NULL,
- user_avatar_height INT2 DEFAULT '0' NOT NULL,
+ user_avatar_width INT2 DEFAULT '0' NOT NULL CHECK (user_avatar_width >= 0),
+ user_avatar_height INT2 DEFAULT '0' NOT NULL CHECK (user_avatar_height >= 0),
user_sig TEXT DEFAULT '' NOT NULL,
user_sig_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
user_sig_bbcode_bitfield varchar(252) DEFAULT '' NOT NULL,
diff --git a/phpBB/install/schemas/sqlite_schema.sql b/phpBB/install/schemas/sqlite_schema.sql
index 112c502803..ae204d4be9 100644
--- a/phpBB/install/schemas/sqlite_schema.sql
+++ b/phpBB/install/schemas/sqlite_schema.sql
@@ -977,8 +977,8 @@ CREATE TABLE phpbb_users (
user_options INTEGER UNSIGNED NOT NULL DEFAULT '893',
user_avatar varchar(255) NOT NULL DEFAULT '',
user_avatar_type tinyint(2) NOT NULL DEFAULT '0',
- user_avatar_width tinyint(4) NOT NULL DEFAULT '0',
- user_avatar_height tinyint(4) NOT NULL DEFAULT '0',
+ user_avatar_width INTEGER UNSIGNED NOT NULL DEFAULT '0',
+ user_avatar_height INTEGER UNSIGNED NOT NULL DEFAULT '0',
user_sig mediumtext(16777215) NOT NULL DEFAULT '',
user_sig_bbcode_uid varchar(5) NOT NULL DEFAULT '',
user_sig_bbcode_bitfield varchar(252) NOT NULL DEFAULT '',