approve-or-reject-2-postgresql.xql
DB Query file
Related Files
- packages/download/www/admin/approve-or-reject-2.xql
- packages/download/www/admin/approve-or-reject-2.tcl
- packages/download/www/admin/approve-or-reject-2-postgresql.xql
- packages/download/www/admin/approve-or-reject-2-oracle.xql
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?> <queryset> <rdbms><type>postgresql</type><version>7.1</version></rdbms> <fullquery name="version_approve"> <querytext> update download_archive_revisions set approved_p = :approved_p, approved_comment = :approved_comment, approved_user = :user_id, approved_date = current_timestamp where revision_id = :revision_id </querytext> </fullquery> </queryset>