summaryrefslogtreecommitdiff
path: root/calamus-engine/src/main/resources
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2014-04-21 17:06:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2014-04-21 17:06:56 +0200
commit76da6008dec491652f15f1148a4a68f30659b27b (patch)
treeb4e1b21a5cf6e7338881191fcfcd404d9a5994f2 /calamus-engine/src/main/resources
parentfd681e2c6663652be02a31f7b40da4cd283ab37e (diff)
downloadcalamus-master.tar.gz
calamus-master.tar.bz2
calamus-master.tar.xz
calamus-master.zip
Diffstat (limited to 'calamus-engine/src/main/resources')
-rw-r--r--calamus-engine/src/main/resources/db/public/V001_001__data.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/calamus-engine/src/main/resources/db/public/V001_001__data.sql b/calamus-engine/src/main/resources/db/public/V001_001__data.sql
new file mode 100644
index 0000000..2a53212
--- /dev/null
+++ b/calamus-engine/src/main/resources/db/public/V001_001__data.sql
@@ -0,0 +1,12 @@
+INSERT INTO process (id, name, jbpm_process_id)
+VALUES ((SELECT
+ nextval('calamus_seq')), 'Deploy', 'io.trygvis.calamus.Deploy');
+
+INSERT INTO process_trigger (id, process, mvel)
+VALUES ((SELECT
+ nextval('calamus_seq')),
+ (SELECT
+ id
+ FROM process
+ WHERE jbpm_process_id = 'io.trygvis.calamus.Deploy'),
+ 'artifact.groupId == "demo"');