liquibase.harness.change.changelogs.hsqldb.createProcedure.xml Maven / Gradle / Ivy
<?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-3.8.xsd"> <!--https://docs.liquibase.com/change-types/create-procedure.html--> <!--Liquibase community doesn't support snapshot generation for procedures thus expectedSnapshot file will be empty for this change type--> <changeSet author="as" id="1"> <createProcedure comments="test procedure" 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 - 2024 Weber Informatics LLC | Privacy Policy