From a493ea8e48ddaa28090c2b74251654376462ebb6 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 3 Dec 2008 08:02:32 +0000 Subject: - change few "boolean" columns type from integer to smallint --- SQL/postgres.update.sql | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'SQL/postgres.update.sql') diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql index 5dae5a28a..a29558e66 100644 --- a/SQL/postgres.update.sql +++ b/SQL/postgres.update.sql @@ -31,3 +31,8 @@ CREATE INDEX cache_created_idx ON "cache" (created); ALTER TABLE users ALTER "language" DROP NOT NULL; ALTER TABLE users ALTER "language" DROP DEFAULT; + +ALTER TABLE identities ALTER del TYPE smallint; +ALTER TABLE identities ALTER standard TYPE smallint; +ALTER TABLE contacts ALTER del TYPE smallint; +ALTER TABLE messages ALTER del TYPE smallint; -- cgit v1.2.3