diff --git a/migration/320-trunk/010_add_printpreview_button.sql b/migration/320-trunk/010_add_printpreview_button.sql new file mode 100644 index 0000000000..c81055985b --- /dev/null +++ b/migration/320-trunk/010_add_printpreview_button.sql @@ -0,0 +1,21 @@ +INSERT INTO ad_message + (ad_message_id, ad_client_id, ad_org_id, isactive, + created, createdby, + updated, updatedby, + value, msgtext, msgtype + ) + VALUES (50017, 0, 0, 'Y', + TO_DATE ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + TO_DATE ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + 'PrintPreview','Print preview','I' + ); + +COMMIT ; + + UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_message_id) + 1 + FROM ad_message + WHERE ad_message_id < 1000000) + WHERE NAME = 'AD_Message'; + +COMMIT ; diff --git a/migration/320-trunk/postgresql/010_add_printpreview_button.sql b/migration/320-trunk/postgresql/010_add_printpreview_button.sql new file mode 100644 index 0000000000..a7a3da3cce --- /dev/null +++ b/migration/320-trunk/postgresql/010_add_printpreview_button.sql @@ -0,0 +1,21 @@ +INSERT INTO ad_message + (ad_message_id, ad_client_id, ad_org_id, isactive, + created, createdby, + updated, updatedby, + value, msgtext, msgtype + ) + VALUES (50017, 0, 0, 'Y', + TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + 'PrintPreview','Print preview','I' + ); + +COMMIT ; + + UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_message_id) + 1 + FROM ad_message + WHERE ad_message_id < 1000000) + WHERE NAME = 'AD_Message'; + +COMMIT ;