From bdbec8152c8eadc72cf2209a2d12dbc0752269c5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 14 Feb 2007 05:07:29 +0000 Subject: [PATCH] fix mistake in the update --- migration/314-trunk/002_add_message_Charset.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/migration/314-trunk/002_add_message_Charset.sql b/migration/314-trunk/002_add_message_Charset.sql index 73754e923b..63ed21d1fc 100644 --- a/migration/314-trunk/002_add_message_Charset.sql +++ b/migration/314-trunk/002_add_message_Charset.sql @@ -11,9 +11,9 @@ INSERT INTO ad_message COMMIT ; UPDATE ad_sequence - SET currentnextsys = (SELECT MAX (ad_element_id) + 1 - FROM ad_element - WHERE ad_element_id < 1000000) + SET currentnextsys = (SELECT MAX (ad_message_id) + 1 + FROM ad_message + WHERE ad_message_id < 1000000) WHERE NAME = 'AD_Message'; -COMMIT; \ No newline at end of file +COMMIT ;