Skip to content

Commit

Permalink
Merge pull request #1281 from openlibraryenvironment/OLE-9412
Browse files Browse the repository at this point in the history
OLE-9412 : SQL Script for Request web service - allow optional "request note" field
  • Loading branch information
NSSuresh11 committed Aug 8, 2019
2 parents 7eb10cf + d9b3e5c commit ce4b912
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ole-app/ole-db/ole-liquibase/ole-liquibase-upgrade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,19 @@
</configuration>
</execution>

<execution>
<id>db.changelog-3.0.17</id>
<phase>${lb.phase}</phase>
<goals>
<goal>updateSQL</goal>
</goals>
<configuration>
<changeLogFile>org/kuali/ole/3.0.17/db.changelog-20190808.xml</changeLogFile>
<verbose>true</verbose>
<defaultSchemaName>OLE</defaultSchemaName>
</configuration>
</execution>

</executions>
<dependencies>
<dependency>
Expand Down Expand Up @@ -722,6 +735,19 @@
</configuration>
</execution>

<execution>
<id>db.changelog-3.0.17</id>
<phase>${lb.phase}</phase>
<goals>
<goal>updateSQL</goal>
</goals>
<configuration>
<changeLogFile>org/kuali/ole/3.0.17/db.changelog-20190808.xml</changeLogFile>
<migrationSqlOutputFile>${lb.sql.dir}/3.0.17.sql
</migrationSqlOutputFile>
</configuration>
</execution>

</executions>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">

<changeSet context="bootstrap" author="ole" id="ALTER_OLE_ASR_RQST_T_MYSQL" dbms="mysql">
<sql>ALTER TABLE OLE_ASR_RQST_T ADD COLUMN RQST_NOTE varchar(4000)</sql>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: org/kuali/ole/3.0.17/db.changelog-20190808.xml
-- *********************************************************************

-- Lock Database
-- Changeset org/kuali/ole/3.0.17/db.changelog-20190808.xml::ALTER_OLE_ASR_RQST_T_MYSQL::ole
ALTER TABLE OLE_ASR_RQST_T ADD COLUMN RQST_NOTE varchar(4000)
/

INSERT INTO DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, LIQUIBASE) VALUES ('ALTER_OLE_ASR_RQST_T_MYSQL', 'ole', 'org/kuali/ole/3.0.17/db.changelog-20190808.xml', NOW(), 1, '7:fe18baba1cbe9d76b5f312aea2863e10', 'sql', '', 'EXECUTED', '3.2.0')
/

-- Release Database Lock
-- Release Database Lock

0 comments on commit ce4b912

Please sign in to comment.