From 91b4c5eee936e27d21df27ac75189257bba21593 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Fri, 17 Dec 2004 02:20:04 +0000 Subject: [PATCH] Postgres compliance for dst_preset table --- lib/db/postgres7.php | 6 +++--- lib/db/postgres7.sql | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 71bc2fc0b7..d2f6cae5df 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -795,10 +795,10 @@ function main_upgrade($oldversion=0) { deactivate_day integer NOT NULL default '1', deactivate_month integer NOT NULL default '2', deactivate_time char(5) NOT NULL default '03:00', - last_change int(10) NOT NULL default '0', - next_change int(10) NOT NULL default '0', + last_change integer NOT NULL default '0', + next_change integer NOT NULL default '0', current_offset integer NOT NULL default '0' - ) TYPE=MyISAM;"); + );"); modify_database('',"CREATE TABLE prefix_message ( diff --git a/lib/db/postgres7.sql b/lib/db/postgres7.sql index 38955cd628..c2599d4f2f 100644 --- a/lib/db/postgres7.sql +++ b/lib/db/postgres7.sql @@ -106,10 +106,10 @@ CREATE TABLE prefix_dst_preset ( deactivate_day integer NOT NULL default '1', deactivate_month integer NOT NULL default '2', deactivate_time char(5) NOT NULL default '03:00', - last_change int(10) NOT NULL default '0', - next_change int(10) NOT NULL default '0', + last_change integer NOT NULL default '0', + next_change integer NOT NULL default '0', current_offset integer NOT NULL default '0' -) TYPE=MyISAM; +); CREATE TABLE prefix_event ( id SERIAL PRIMARY KEY, -- 2.39.5