mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Add a missing MR.
This commit is contained in:
parent
7c3ef317b0
commit
d2d56b4b89
@ -1,9 +1,25 @@
|
|||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
|
|
||||||
ALTER TABLE tagent_custom_fields ADD is_password_type tinyint(1) NOT NULL DEFAULT 0;
|
DROP PROCEDURE IF EXISTS addcol_oum706;
|
||||||
|
|
||||||
ALTER TABLE treport_content ADD COLUMN historical_db tinyint(1) NOT NULL DEFAULT 0;
|
|
||||||
|
|
||||||
|
delimiter '//'
|
||||||
|
CREATE PROCEDURE addcol_oum706() BEGIN
|
||||||
|
IF NOT EXISTS (
|
||||||
|
SELECT * FROM information_schema.columns WHERE table_name='treport_content' AND column_name='historical_db'
|
||||||
|
) THEN
|
||||||
|
ALTER TABLE treport_content ADD COLUMN historical_db tinyint(1) UNSIGNED NOT NULL default 0;
|
||||||
|
END IF;
|
||||||
|
IF NOT EXISTS (
|
||||||
|
SELECT * FROM information_schema.columns WHERE table_name='tpolicy_modules' AND column_name='ip_target'
|
||||||
|
) THEN
|
||||||
ALTER TABLE tpolicy_modules ADD COLUMN ip_target varchar(100) default '';
|
ALTER TABLE tpolicy_modules ADD COLUMN ip_target varchar(100) default '';
|
||||||
|
END IF;
|
||||||
|
END;
|
||||||
|
//
|
||||||
|
|
||||||
|
delimiter ';'
|
||||||
|
CALL addcol_oum706();
|
||||||
|
DROP PROCEDURE addcol_oum706;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
5
pandora_console/extras/mr/3.sql
Normal file
5
pandora_console/extras/mr/3.sql
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
START TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE tagent_custom_fields ADD is_password_type tinyint(1) NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
|
COMMIT;
|
@ -109,7 +109,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
|||||||
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
||||||
('custom_report_front_header', ''),
|
('custom_report_front_header', ''),
|
||||||
('custom_report_front_footer', ''),
|
('custom_report_front_footer', ''),
|
||||||
('MR', 2),
|
('MR', 3),
|
||||||
('identification_reminder', 1),
|
('identification_reminder', 1),
|
||||||
('identification_reminder_timestamp', 0),
|
('identification_reminder_timestamp', 0),
|
||||||
('current_package_enterprise', '705'),
|
('current_package_enterprise', '705'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user