From: Greg Sabino Mullane Date: Wed, 5 Jul 2006 04:15:57 +0000 (+0000) Subject: Might as well give pag_random a decent default. X-Git-Tag: 1.31.0-rc.0~56404 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=8003b84cac1557b6adbec85701b6571a49697841;p=lhc%2Fweb%2Fwiklou.git Might as well give pag_random a decent default. --- diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index 0cc5ecf407..5481a39466 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -55,7 +55,7 @@ CREATE TABLE page ( page_counter BIGINT NOT NULL DEFAULT 0, page_is_redirect CHAR NOT NULL DEFAULT 0, page_is_new CHAR NOT NULL DEFAULT 0, - page_random NUMERIC(15,14) NOT NULL, + page_random NUMERIC(15,14) NOT NULL DEFAULT RANDOM(), page_touched TIMESTAMPTZ, page_latest INTEGER NOT NULL, -- FK? page_len INTEGER NOT NULL