
liquibase.harness.generateChangelog.expectedChangeLog.hsqldb.createProcedure.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> <!--https://docs.liquibase.com/change-types/create-procedure.html--> <!--Liquibase doesn't include stored procedures in snapshot for this platform (DAT-11679) ExpectedSnapshot file will be empty for this change type--> <changeSet author="as" id="1"> <comment>test procedure</comment> <createProcedure encoding="UTF-8" procedureName="test_procedure">CREATE PROCEDURE test_procedure(firstname VARCHAR(50), lastname VARCHAR(50), email VARCHAR(50)) MODIFIES SQL DATA INSERT INTO AUTHORS VALUES (DEFAULT, firstname, lastname, email, null, CURRENT_TIMESTAMP); </createProcedure> <rollback> <dropProcedure procedureName="test_procedure"/> </rollback> </changeSet> </databaseChangeLog>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy