Failed to add all of the files in the previous commit. These are the
other additional changes made.
This commit is contained in:
committed by
Michael Minella
parent
4beba53220
commit
f056a1136f
@@ -188,8 +188,22 @@
|
||||
</engine>
|
||||
</config>
|
||||
<fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp" />
|
||||
<mapper type="glob" from="*.sql.vpp" to="*-derby.sql" />
|
||||
<mapper type="glob" from="*.sql.vpp" to="*-sqlf.sql" />
|
||||
</vppcopy>
|
||||
<vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
||||
<config>
|
||||
<context>
|
||||
<property key="includes" value="src/main/sql" />
|
||||
<property file="${basedir}/src/main/sql/sqlf.properties" />
|
||||
</context>
|
||||
<engine>
|
||||
<property key="velocimacro.library" value="src/main/sql/sqlf.vpp" />
|
||||
</engine>
|
||||
</config>
|
||||
<fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp" />
|
||||
<mapper type="glob" from="*.sql.vpp" to="*-sqlf.sql" />
|
||||
</vppcopy>
|
||||
|
||||
<vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
||||
<config>
|
||||
<context>
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
-- Autogenerated: do not edit this file
|
||||
ALTER TABLE BATCH_JOB_INSTANCE DROP CONSTRAINT IF EXISTS JOB_INST_UN;
|
||||
ALTER TABLE BATCH_JOB_EXECUTION DROP CONSTRAINT IF EXISTS JOB_INST_EXEC_FK;
|
||||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS DROP CONSTRAINT IF EXISTS JOB_EXEC_PARAMS_FK;
|
||||
ALTER TABLE BATCH_STEP_EXECUTION DROP CONSTRAINT IF EXISTS JOB_EXEC_STEP_FK;
|
||||
ALTER TABLE BATCH_STEP_EXECUTION_CONTEXT DROP CONSTRAINT IF EXISTS STEP_EXEC_CTX_FK;
|
||||
ALTER TABLE BATCH_JOB_EXECUTION_CONTEXT DROP CONSTRAINT IF EXISTS JOB_EXEC_CTX_FK;
|
||||
|
||||
DROP TABLE IF EXISTS BATCH_STEP_EXECUTION_CONTEXT CASCADE;
|
||||
DROP TABLE IF EXISTS BATCH_JOB_EXECUTION_CONTEXT CASCADE;
|
||||
|
||||
@@ -4,6 +4,7 @@ BIGINT = BIGINT
|
||||
IDENTITY =
|
||||
GENERATED =
|
||||
IFEXISTSBEFORE = IF EXISTS
|
||||
DROPCONSTRAINT = TRUE
|
||||
DOUBLE = DOUBLE PRECISION
|
||||
BLOB = BYTEA
|
||||
CLOB = TEXT
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#macro (alter $name $table $constraint) ALTER TABLE ${name} DROP CONSTRAINT IF EXISTS ${constraint};
|
||||
#end
|
||||
#macro (sequence $name $value)CREATE SEQUENCE ${name} MAXVALUE 9223372036854775807 NO CYCLE;
|
||||
#end
|
||||
#macro (notnull $name $type)ALTER COLUMN ${name} SET NOT NULL#end
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
-- Autogenerated: do not edit this file
|
||||
|
||||
## Done so that we didn't have to modify all of the other files besides postgresql
|
||||
#if (!$DROPCONSTRAINT) #set($DROPCONSTRAINT = "FALSE") #end
|
||||
#if ( $DROPCONSTRAINT == "TRUE") #parse("${includes}/drop.constraints.sql.vpp") #end
|
||||
#parse("${includes}/destroy.sql.vpp")
|
||||
|
||||
Reference in New Issue
Block a user