diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-01 17:00:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-01 17:00:21 +0000 |
commit | 7b76938b2401388f411dbf2179554ca5b449da55 (patch) | |
tree | 4ac4a897b2b3218c4a40ad7b388c7fba1edf8b2a /modules | |
parent | 46a6e08ceaa2fee6d0fbae3435036f91289d5a3e (diff) | |
download | brdo-7b76938b2401388f411dbf2179554ca5b449da55.tar.gz brdo-7b76938b2401388f411dbf2179554ca5b449da55.tar.bz2 |
- Patch #100143 by sammys: fixed files-table on PostgreSQL.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 7f7c25c91..23867ce73 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -718,7 +718,7 @@ function system_install() { db_query("CREATE INDEX {node_comment_statistics}_node_comment_timestamp_idx ON {node_comment_statistics} (last_comment_timestamp)"); db_query("CREATE TABLE {files} ( - fid int_unsigned NOT NULL default 0, + fid serial CHECK (fid >= 0), nid int_unsigned NOT NULL default 0, filename varchar(255) NOT NULL default '', filepath varchar(255) NOT NULL default '', |