From 9bafa7e81ba587659fc335bc2bc587cfde7739c9 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 3 Dec 2008 08:02:32 +0000 Subject: - change few "boolean" columns type from integer to smallint git-svn-id: https://svn.roundcube.net/trunk@2108 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/SQL/postgres.update.sql | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roundcubemail/SQL/postgres.update.sql') diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql index 5dae5a28a..a29558e66 100644 --- a/roundcubemail/SQL/postgres.update.sql +++ b/roundcubemail/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