From 87e0fb452dfbee83ae750ff7dfad790c54d9a356 Mon Sep 17 00:00:00 2001 From: vgilc Date: Mon, 7 Apr 2014 10:34:16 +0000 Subject: [PATCH] 2014-04-07 Vanessa Gil * pandoradb.oracle.sql pandoradb.postgreSQL.sql pandoradb.sql extras/pandoradb_migrate_5.0_to_5.1.mysql.sql extras/pandoradb_migrate_5.0_to_5.1.oracle.sql extras/pandoradb_migrate_5.0_to_5.1.postgreSQL.sql godmode/reporting/reporting_builder.main.php godmode/reporting/reporting_builder.php: Add scheduled reports. * images/csv_disabled.png images/html_disabled.png images/pdf_disabled.png images/xml_disabled.png images/schedule_report.png: Added images. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 18 ++++++ .../pandoradb_migrate_5.0.x_to_5.1.mysql.sql | 5 ++ .../pandoradb_migrate_5.0.x_to_5.1.oracle.sql | 5 ++ ...doradb_migrate_5.0.x_to_5.1.postgreSQL.sql | 5 ++ .../reporting/reporting_builder.main.php | 5 ++ .../godmode/reporting/reporting_builder.php | 52 +++++++++++++++--- pandora_console/images/csv_disabled.png | Bin 0 -> 1467 bytes pandora_console/images/html_disabled.png | Bin 0 -> 1539 bytes pandora_console/images/pdf_disabled.png | Bin 0 -> 1532 bytes pandora_console/images/schedule_report.png | Bin 0 -> 1438 bytes pandora_console/images/xml_disabled.png | Bin 0 -> 1536 bytes pandora_console/pandoradb.oracle.sql | 3 +- pandora_console/pandoradb.postgreSQL.sql | 3 +- pandora_console/pandoradb.sql | 1 + 14 files changed, 87 insertions(+), 10 deletions(-) create mode 100644 pandora_console/images/csv_disabled.png create mode 100644 pandora_console/images/html_disabled.png create mode 100644 pandora_console/images/pdf_disabled.png create mode 100644 pandora_console/images/schedule_report.png create mode 100644 pandora_console/images/xml_disabled.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 17e77ec18e..7ece9fff92 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,21 @@ +2014-04-07 Vanessa Gil + + * pandoradb.oracle.sql + pandoradb.postgreSQL.sql + pandoradb.sql + extras/pandoradb_migrate_5.0_to_5.1.mysql.sql + extras/pandoradb_migrate_5.0_to_5.1.oracle.sql + extras/pandoradb_migrate_5.0_to_5.1.postgreSQL.sql + godmode/reporting/reporting_builder.main.php + godmode/reporting/reporting_builder.php: Add scheduled + reports. + + * images/csv_disabled.png + images/html_disabled.png + images/pdf_disabled.png + images/xml_disabled.png + images/schedule_report.png: Added images. + 2014-04-05 Junichi Satoh * include/help/ja/help_field_match_snmp.php: Updated help. diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql index dd2452ff79..9aa384b44f 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql @@ -134,3 +134,8 @@ CREATE TABLE IF NOT EXISTS `talert_snmp_action` ( `al_field10` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- --------------------------------------------------------------------- +-- Table `treport` +-- --------------------------------------------------------------------- +ALTER TABLE `treport` ADD COLUMN `non_interactive` tinyint(1) UNSIGNED NOT NULL default 0; diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql index f379a69eed..5399ade095 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql @@ -123,3 +123,8 @@ CREATE TABLE talert_snmp_action ( al_field9 CLOB default '' NOT NULL, al_field10 CLOB default '' NOT NULL ); + +-- --------------------------------------------------------------------- +-- Table treport +-- --------------------------------------------------------------------- +ALTER TABLE treport ADD (non_interactive NUMBER(5, 0) default 0 NOT NULL); diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql index f6d2247b8e..2779f461ed 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql @@ -96,3 +96,8 @@ CREATE TABLE "talert_snmp_action" ( "al_field9" TEXT default '', "al_field10" TEXT default '' ); + +-- --------------------------------------------------------------------- +-- Table treport +-- --------------------------------------------------------------------- +ALTER TABLE "treport" ADD COLUMN "non_interactive" SMALLINT DEFAULT 0; diff --git a/pandora_console/godmode/reporting/reporting_builder.main.php b/pandora_console/godmode/reporting/reporting_builder.main.php index fd90173070..7d8ff60430 100644 --- a/pandora_console/godmode/reporting/reporting_builder.main.php +++ b/pandora_console/godmode/reporting/reporting_builder.main.php @@ -91,6 +91,11 @@ if ($report_id_user == $config['id_user'] || '; } +if ($enterpriseEnable) { + $table->data['interactive_report'][0] = __('Non interactive report'); + $table->data['interactive_report'][1] =__('Yes').'   '.html_print_radio_button ('non_interactive', 1, '', $non_interactive, true) .'  '; + $table->data['interactive_report'][1] .= __('No').'   '.html_print_radio_button ('non_interactive', 0, '', $non_interactive, true); +} $table->data['description'][0] = __('Description'); $table->data['description'][1] = html_print_textarea('description', 5, 15, $description, '', true); diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 90ce4b6405..5f10a8647b 100644 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -47,6 +47,33 @@ $idReport = get_parameter('id_report', 0); $offset = get_parameter('offset', 0); $idItem = get_parameter('id_item', 0); $pure = get_parameter('pure',0); +$schedule_report = get_parameter('schbutton', ''); + +if ($schedule_report != '') { + + $id_user_task = 1; + $scheduled = 'no'; + $date = date(DATE_FORMAT); + $time = date(TIME_FORMAT); + $parameters[0] = get_parameter('id_schedule_report'); + //$parameters[1] = db_get_value('schedule_email', 'treport', 'id_report', $id_report); + $parameters[1] = get_parameter('schedule_email'); + $parameters['first_execution'] = strtotime ($date.' '.$time); + + $values = array( + 'id_usuario' => $config['id_user'], + 'id_user_task' => $id_user_task, + 'args' => serialize ($parameters), + 'scheduled' => $scheduled, + 'flag_delete' => 1); +//html_debug_print($values, "/home/vanessa/code/pandora-code/pandora_console/logDebug.txt"); + $result = db_process_sql_insert('tuser_task_scheduled', $values); + + ui_print_result_message ($result, + __('Your report has been planned, and the system will email you a PDF with the report as soon as its finished'), + __('An error has ocurred')); + echo '
'; +} //Other Checks for the edit the reports if ($idReport != 0) { @@ -356,7 +383,7 @@ switch ($action) { $reports = reports_get_reports ($filter, array ('name', 'id_report', 'description', 'private', - 'id_user', 'id_group'), $return_all_group, 'RR', $group); + 'id_user', 'id_group', 'non_interactive'), $return_all_group, 'RR', $group); $table->width = '0px'; if (sizeof ($reports)) { @@ -376,7 +403,7 @@ switch ($action) { $next = 4; //Calculate dinamically the number of the column if (enterprise_hook ('load_custom_reporting_1') !== ENTERPRISE_NOT_HOOK) { - $next = 6; + $next = 7; } //Admin options only for RM flag @@ -420,15 +447,20 @@ switch ($action) { $data[1] = $report['description']; - $data[2] = '' . - html_print_image("images/html.png", true, array('title' => __('HTML view'))) . ''; - $data[3] = '' . html_print_image("images/xml.png", true, array('title' => __('Export to XML'))) . ''; //I chose ajax.php because it's supposed to give XML anyway + if (!$report['non_interactive']) { + $data[2] = '' . + html_print_image("images/html.png", true, array('title' => __('HTML view'))) . ''; + $data[3] = '' . html_print_image("images/xml.png", true, array('title' => __('Export to XML'))) . ''; //I chose ajax.php because it's supposed to give XML anyway + } else { + $data[2] = html_print_image("images/html_disabled.png", true); + $data[3] = html_print_image("images/xml_disabled.png", true); + } //Calculate dinamically the number of the column $next = 4; if (enterprise_hook ('load_custom_reporting_2') !== ENTERPRISE_NOT_HOOK) { - $next = 6; + $next = 7; } @@ -560,6 +592,7 @@ switch ($action) { $type_access_selected = get_parameter('type_access', 'group_view'); $id_group_edit_param = (int)get_parameter('id_group_edit', 0); $report_id_user = get_parameter('report_id_user'); + $non_interactive = get_parameter('non_interactive', 0); // Pretty font by default for pdf $custom_font = 'FreeSans.ttf'; @@ -584,7 +617,8 @@ switch ($action) { 'id_group' => $idGroupReport, 'description' => $description, 'private' => $private, - 'id_group_edit' => $id_group_edit); + 'id_group_edit' => $id_group_edit, + 'non_interactive' => $non_interactive); $report = db_get_row_filter('treport', @@ -632,7 +666,8 @@ switch ($action) { 'id_group_edit' => $id_group_edit, 'id_user' => $config['id_user'], 'metaconsole' => $metaconsole_report, - 'custom_font' => $custom_font)); + 'custom_font' => $custom_font, + 'non_interactive' => $non_interactive)); if ($idOrResult !== false) db_pandora_audit( "Report management", "Create report #$idOrResult"); else @@ -1134,6 +1169,7 @@ switch ($action) { $type_access_selected = reports_get_type_access($report); $id_group_edit = $report['id_group_edit']; $report_id_user = $report['id_user']; + $non_interactive = $report['non_interactive']; break; case 'delete': $idItem = get_parameter('id_item'); diff --git a/pandora_console/images/csv_disabled.png b/pandora_console/images/csv_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..2d987bbab717ce83f1cebdb8609f56bda50f50e2 GIT binary patch literal 1467 zcmbVMeM}o=7{3nafUPhY!C}xHhejc^ch~P;sL=M>6-SX3=4$+a>-7p3Xs=ukDEL7I zA&jww%*9Mch!Xyg0h@}*zB1$^Mi(*{iBsof!(_{v7;wTe%^3I=DEbH4A6{~~_j&I3 zd%mCdU{T>7N&FM>5Clo`t)v}%Q^Rkp7=lDYbHn$-f?#$C#hhEHqj&}~xHu;R=XXG^LqX^8p z^vD5~4YT=7Oa*Ig;F;ov!V|OiE*F99Ao3xDwMTb=j~S!!Z<>qnJjDV}wdWU^u+~Aix{% zauasavhE8=dZa=Sd<2Tt)z!)B6f%x4M{%7_hhlP6E|&s?)L-uvsDRY#&xlwc89&Xl zK7r-DaM&W{pHVk|H>xBX(Lj#l##bp@k@r3hQMf(Li^KTfNqWvZH zJ_fZjey)b6K|kCX5i+RVqaB5TAR6LDo&`;zsz{Em@i1N?pVTAZkIcoo2vSWdOt*ANS`= z&%|2S?-lDAniJEC^vmFd6h)|*suvAw;$yC|{K+N5mi5QSV{ z^}Hv7gV=TP$kNmYiWNgvr|6sHl;baTKAzjSJOx$-dOsKwJ@N3t{nWYZXD5QcCt^kW z_EC8WX(xo}q@-;0)pJ5T z8P@H|3l6&L(4lPw{r&yTtfSUR(-Yq2fr0F+109bgg3KmAJl`p@O5Qpu&I`_5f@AV_ zwDqL?IyN{n_Mr6Z;hQgv+>JJOjF&8(_`>q6dwE4M`BVDxe!euGp1NDH`{d=p6QZ=f zp9AfZJB3>ge;%rzpFa0g_1>e_%$SRYOk-^5wYO_E7h@U^sy^CtJF(JwdN}3s+2oyc z!HvP;XXXwhC8Y0_eKOn?*K;iEjU+`v>!p^L7eAFO{MG);_^JMT^CO?>nx$XzQM>yV U_rH=YDGpz!`Q}3Ml(DSo9|0u@f&c&j literal 0 HcmV?d00001 diff --git a/pandora_console/images/html_disabled.png b/pandora_console/images/html_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..45a946a0cde8eee294f3f382d4a82d810341f870 GIT binary patch literal 1539 zcmbVMeM}Q)7(Ys^tP}#u5OK?nlEBz#@1yOtJt?>4`93L6;H2CP#ae8}zPT4_k0X z+?d0G(>f!09L4h|H@r7(T?;|-1Fgn>X3beXO z7ga!!&YG>iQW*dcUP0T7_#)d|xPx^o$RI}HcY6dj0AytOJ*1?jBnqQN(Fw9pi?ieMepZi?ZpgkC26Q8;NQPGE!* zRT{Mjfx?&;L9|AUu$VQd&YX=9N(2tsSc$7u!Gs01sIoD&2|>)tY!nfAI*kg`X|r{( zDa5rhUY=weRLCza_+8>EU&zHx97XahXJ^@}&;;aHusrLnU_GFzP^~~f8|k2#peER$ z#e4~hqqk8`3&*;_g$m>J3K77F7Df<_3f3%Tt~Fs=lZDU_CPa&%LgtHH=l`i1Bm@Hm z$KyZa5>g2>7(6ZyzaT8H55)*O!wJiA_LI&W01zQo!f5vompuyvvcl0)QS6;-hXaA> z$t?}ioK-P_z>|Ax8_G(FKSVKx*G1{BtIe}eYU<^wyMxIM$p)@+@y8{Q} zN~Ug|a!FHCQkv5HME(8!(vp&rh{#f@v*mEsPVo>BRzHr#y=SapnXRj>8wz-JHs z>K+>t-q@G;0ql7&tQLQrBE~RGoSB)qTX2Q8A3Np{C*r^_t0N;LwcUoQ<4Jp^ zot>TeGd=a@mO3D!CwF}-AQc&}f7=z)>zWCiESeSV1QRw*!AXf#Wz^Oy9h&V-c(;W{;JrR9s z@Q`S7M|gQtY-8Gy>Q8^V_?s@Zva;j()pzzu&K!MZYM>3iJ+(!p2&;W_dt8GNl(gLp zFN%oAB=7gkk6suy`RfNXFlfb6Bpdfz8m@ggtt|Yk<;H05qg?Za=v&~b`MMp&`@QDt zt|!SCzCZod-AyBDN3OKjm?s!=_NJ}G;=55Cn|6Q1H?o=5i;W*6mj)7&&x8?s_e3^( ze{>!+_|>hy&oCV?CA79i0^QS4ey p)Az$1A)7eb?{AyFHJ5w*!!XN+^6MMVO>2VJveleNoX9Ty=pPwkDc%48 literal 0 HcmV?d00001 diff --git a/pandora_console/images/pdf_disabled.png b/pandora_console/images/pdf_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..68eac1ffff1afe3b1687a60924cb66cf8ec40bf5 GIT binary patch literal 1532 zcmbVMdrT8|96yUl%bOttoYTuSZup@0=<^y1eO!S<3Rr4}*%m$8qrK4f>h+L9Sg4E% zMr!6>7SDt%|R*lxpp)M@B_3vVg}YumK>iAmF3ywKNY_(@w^#gC2c10D+7{ z2feAZAQqpAb}_|`99`L1X0tce+HnU|kPqesw1NQ-%~N2&6wdn+Bpu}9d7l=B>+9=f^>P`@IbjsXaTvj149gV|x&8((PX%(lerePKLHq3- z)uQt_R_kq*1a^yO%qP0EK9@nd6LjU!XKG~acBt@A;;tf z4N72$N`s;rgNi6Lt1;YcLHL~Sg_H5e7R8Y@&9RZ0_zn&n0e6?nK>p~5vr95F?? zq}R_=UOOH2%Lsnwxr&!^wI+_Hc$TxVtUEdZ6)u)%{VvuAnktnt6tqxw#v9Q@8Z?(L zL37Lw+EK`{9&on8T4s?55LAPps9J%j=QG!sR2owup(aeI2E~NT=eUmlQ#Du!29Au! zf5s)M5@s-RTo`^qSXdw0E9?v>EJx+NbHZMU){%t47Pwyhd}gK~2HPe|yVRwdYQB4U zO<$ta7F(JvP3Ty1MU<-V7_RASntuLlrY&W4*1^us?1SF%(|2>$uiw+12nGj_$ekB8 z#U%NlO(N>Yj`j4M@!W}%3<59=pB3c{q~-*VrY{9Vj}5mpKoBf_F{A$VAekk$W|XeH z50Ixyrl!h9jACV1Z7_VJ=war*ni{Y-?ZWBef>tv9o8Fx^=^Qd=o(cY5HM2wqbuLlvFBhlf(mfN^AMY`451nXyWOnXRln` zb$;j76O-KK-mL?ZiX1*CSsVnQE$Qi745P!t;`rc9U+d1KV9ScE-#+*#!J3#(#DOM# z*6VR8xn{F@8AVaP61&qGcja25{z(iH8{GefSn7;%kK7u3G4~`Jh z?$)%cC(cwS&p>2mS>GNKW$r6ePH7|+rtOO9^D90{f9pv`s1p;{nM7< z&F?3^?zil)cRcRZ*)EZ5l>>(|_x(6IdTdv{N<z2<_V;l4(1V}8cz>X0cjolTl9X4U3>`@83SH-zjJNTPw$LilnyfxrDW<;3 gnt77{^r7-C90->N-J3JUBKJE$n#+je#%(SC0IYu=n*aa+ literal 0 HcmV?d00001 diff --git a/pandora_console/images/schedule_report.png b/pandora_console/images/schedule_report.png new file mode 100644 index 0000000000000000000000000000000000000000..ed54e9247b06fc3222ed2cb11703b26884129849 GIT binary patch literal 1438 zcmbVMeM}o=7{5|jadcam7+{%lDM%Q?ef0ZoEv4Zpc5v_dd`4 ze$V&wzU-{2+OU4hdH?`6*sBSb@Xb%Ynd<;Rbmq6S3rT^udiYwlk&lub1(*V?j{@x> zvWaq0WT3tEb4m{Y;vntz@E*rb+|Py}GKqm=p|HRP0KG95CjHG65BjJknlZ@dK0GG} z>3~6Ar*SMTIAVl#b7z?#95j+Pp<#9Mc3(HZU8bZqbhz12UDhO2}mb0h!!QaVa43|_YY83UUDUr}tci}e z+rt#>q9SY?=NJ0XSePOUwR^auBv6P3f10C(rjRWJ>u(ED3~wh4a^VjYpaVFeA(RTG zNrw^&M59Adok>I3tXc(THKT+QMN&4_;wqJ>NvTm;%^Ed)FMCtn!tqMx?FaNXE|@mr6RG=@X^Pj)`5qp&1}o-+8X<#Plp$*fU!9=7@6YkK{KgxS}(rpd82ds!0dO&PkOI+AqRS|6uW?|vC82EY`pV5aT*w} zzB)mSHpJ%_8+LuQd1zpAu2{i^rBEouDy^6iW}BjYnuiHq9~ zUEl9MXpnvZ-Hofqny0f5Cq8X5=MP9n46Ng@qs!IGB#{{+w^g;=yB2TRApY#?pwc#&L90@ zvfyH#&Xb;hS67s<-s?3sBp$mlS+Hr_CWsd8*oRh! rt-g{+ceGAid9sbX8GAlp8_RhLs5$$myZ@EG+>MH~*J3w{Scr5RVI0@Pp3vTTJ)ppJ z4l&MY;DaL>TLfY@gEMZsH0vyFmT7Z!T6Nv$M_CaKC zqPL86Q;u0*vSdMgk|dBQT3ubOtJdpyaSI9vf#aDDd4wt5NSLhzW{Ys0 zfuKYO7&hXUll{(evFCD0o5<1ovhYAREOmndK8Z?!ymXZT9X zl%UXPG+nU{Ned|&kkjJbYn@X{r81$nXZw@knA`1ZR536%&$nAOaAy)b)8CeKr? ze`5WkNm!9|b7*L{2O3(UjLMVhq4f~m6+fDmuz_U*ya1z?7SCO?ys|YqZT^$f7x<%@_=e8d8sOO z^^Qx656oLQ@~i)F^fAM(w;rL(_Cen@g9W{Coc&10pdJ80u`+t%diN5#guS_7X!)u` z+_Ftbvxb`g&7&Lr`Hcqy_rKrM^!QnpTc4M>5gNNcV%j3AN!u%t+BI?`=;p-}~tJ?;hn(6Fx?P9sZ!fz4dZWYFf6( z9KXogb?j`@R{XEN?Vl7S>{?ya*17pyQZndh+*()cG9_L;*Lh~A`~878O#1OLw9tAu m`xoUw&8_~Y>rVb%-@K$aw0`u>7pu(SJK1T^r9QWo)c*sOKO(gN literal 0 HcmV?d00001 diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index b8d277e87d..05d30936ef 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -1097,7 +1097,8 @@ CREATE TABLE treport ( custom_font VARCHAR2(200) default NULL, id_template NUMBER(10, 0) default 0 NOT NULL, id_group_edit NUMBER(19, 0) default 0 NOT NULL, - metaconsole NUMBER(5, 0) DEFAULT 0 + metaconsole NUMBER(5, 0) DEFAULT 0, + non_interactive NUMBER(5, 0) default 0 NOT NULL ); CREATE SEQUENCE treport_s INCREMENT BY 1 START WITH 1; CREATE OR REPLACE TRIGGER treport_inc BEFORE INSERT ON treport REFERENCING NEW AS NEW FOR EACH ROW BEGIN SELECT treport_s.nextval INTO :NEW.ID_REPORT FROM dual; END treport_inc;; diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index ed9e8c71e7..0293d9c647 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -969,7 +969,8 @@ CREATE TABLE "treport" ( "custom_font" varchar(200) default NULL, "id_template" BIGINT NOT NULL default 0, "id_group_edit" BIGINT NOT NULL default 0, - "metaconsole" SMALLINT DEFAULT 0 + "metaconsole" SMALLINT DEFAULT 0, + "non_interactive" SMALLINT DEFAULT 0 ); -- ----------------------------------------------------- diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 848a079f55..9a240c8b86 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -1047,6 +1047,7 @@ CREATE TABLE IF NOT EXISTS `treport` ( `id_template` INTEGER UNSIGNED DEFAULT 0, `id_group_edit` mediumint(8) unsigned NULL DEFAULT 0, `metaconsole` tinyint(1) DEFAULT 0, + `non_interactive` tinyint(1) UNSIGNED NOT NULL default 0, PRIMARY KEY(`id_report`) ) ENGINE = InnoDB DEFAULT CHARSET=utf8;