2012-02-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Migrate 
	tconfig ACL list. Pending to change it in Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-14 15:38:05 +00:00
parent 1f8b77a3de
commit 15c42f53e6
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-02-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Migrate
tconfig ACL list. Pending to change it in Oracle.
2012-02-14 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: uploaded lost lines to repository. I am sorry.

View File

@ -131,4 +131,6 @@ CREATE TABLE "tevent_filter" (
-- -----------------------------------------------------
-- Table `tconfig`
-- -----------------------------------------------------
ALTER TABLE "tconfig" ALTER COLUMN "value" TEXT;
ALTER TABLE "tconfig" ALTER COLUMN "value" TYPE TEXT;
INSERT INTO tconfig ("token", "value") SELECT 'list_ACL_IPs_for_API', array_to_string(ARRAY(SELECT value FROM tconfig WHERE token LIKE 'list_ACL_IPs_for_API%'), ';') AS "value";