1) Removed the drop constraints as the caused the script to fail on a greenfield database and proved to not be needed.
2) Fixed the vpp files for a typo on the sqlf platform name (sqlf instead of sqlfire) and dropping the constraints. However, the code generation has not been tested.
This commit is contained in:
committed by
Michael Minella
parent
378006801a
commit
5de458c2d7
@@ -1,11 +1,4 @@
|
||||
-- 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;
|
||||
DROP TABLE IF EXISTS BATCH_JOB_EXECUTION_CONTEXT;
|
||||
DROP TABLE IF EXISTS BATCH_STEP_EXECUTION;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#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,4 +1,4 @@
|
||||
platform=sqlfire
|
||||
platform=sqlf
|
||||
# SQL language oddities (cloned from Derby)
|
||||
BIGINT = BIGINT
|
||||
IDENTITY =
|
||||
|
||||
Reference in New Issue
Block a user