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 ;