aboutsummaryrefslogtreecommitdiff
path: root/verify
diff options
context:
space:
mode:
Diffstat (limited to 'verify')
-rw-r--r--verify/schema.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/verify/schema.sql b/verify/schema.sql
new file mode 100644
index 0000000..ba8c5d8
--- /dev/null
+++ b/verify/schema.sql
@@ -0,0 +1,10 @@
+-- Verify diary:schema on pg
+
+BEGIN;
+
+DO $$
+BEGIN
+ ASSERT (SELECT has_schema_privilege('diary', 'usage'));
+END $$;
+
+ROLLBACK;