Verifying generated SQL in integration-test hib-test
[hibernate4-maven-plugin] / src / it / hib-test / postgres.sql
diff --git a/src/it/hib-test/postgres.sql b/src/it/hib-test/postgres.sql
new file mode 100644 (file)
index 0000000..875da31
--- /dev/null
@@ -0,0 +1,12 @@
+
+    drop table if exists test_simple cascade;
+
+    create table test_simple (
+        uuid varchar(36) not null,
+        content text,
+        externalid varchar(148),
+        sources varchar(255),
+        primary key (uuid)
+    );
+
+    create index idx_test_simple_tuple on test_simple (sources, uuid);