Skip to content

Commit

Permalink
upgrade scripts - iteration attributes in m_focus
Browse files Browse the repository at this point in the history
  • Loading branch information
garbika committed Mar 28, 2014
1 parent 606f016 commit d75ec1e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/sql/midpoint/2.2/h2/h2-upgrade-2.2-to-2.3.sql
Expand Up @@ -145,3 +145,6 @@ ALTER TABLE m_security_policy
REFERENCES m_object;

ALTER TABLE m_object_template ADD iteration CLOB;

ALTER TABLE m_focua ADD iteration INTEGER;
ALTER TABLE m_focua ADD iterationToken VARCHAR(255);
3 changes: 3 additions & 0 deletions config/sql/midpoint/2.2/mysql/mysql-upgrade-2.2-to-2.3.sql
Expand Up @@ -136,3 +136,6 @@ ALTER TABLE m_security_policy

ALTER TABLE m_object_template ADD iteration LONGTEXT;

ALTER TABLE m_focua ADD iteration INTEGER;
ALTER TABLE m_focua ADD iterationToken VARCHAR(255);

3 changes: 3 additions & 0 deletions config/sql/midpoint/2.2/oracle/oracle-upgrade-2.2-to-2.3.sql
Expand Up @@ -148,3 +148,6 @@ ALTER TABLE m_security_policy

ALTER TABLE m_object_template ADD iteration CLOB;

ALTER TABLE m_focua ADD iteration NUMBER(10,0);
ALTER TABLE m_focua ADD iterationToken VARCHAR(255 CHAR);

Expand Up @@ -128,4 +128,7 @@ ALTER TABLE m_security_policy
FOREIGN KEY (id, oid)
REFERENCES m_object (id, oid);

ALTER TABLE m_object_template ADD iteration TEXT;
ALTER TABLE m_object_template ADD iteration TEXT;

ALTER TABLE m_focua ADD iteration INT4;
ALTER TABLE m_focua ADD iterationToken VARCHAR(255);
Expand Up @@ -129,3 +129,6 @@ ALTER TABLE m_security_policy
REFERENCES m_object;

ALTER TABLE m_object_template ADD iteration NVARCHAR(MAX);

ALTER TABLE m_focua ADD iteration INT;
ALTER TABLE m_focua ADD iterationToken NVARCHAR(255);

0 comments on commit d75ec1e

Please sign in to comment.