From 76da6008dec491652f15f1148a4a68f30659b27b Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Mon, 21 Apr 2014 17:06:56 +0200
Subject: wip

---
 .../src/main/resources/db/public/V001_001__data.sql          | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 calamus-engine/src/main/resources/db/public/V001_001__data.sql

(limited to 'calamus-engine/src/main/resources/db/public/V001_001__data.sql')

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"');
-- 
cgit v1.2.3

