From 26796832b64dc1d8c8a0b69f5969fd6794a6b6f1 Mon Sep 17 00:00:00 2001 From: Aeneas Date: Wed, 26 Oct 2016 09:46:23 +0200 Subject: [PATCH] manager/sql: replace json with text for better interop --- manager_sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager_sql.go b/manager_sql.go index f074045..3b5600c 100644 --- a/manager_sql.go +++ b/manager_sql.go @@ -16,7 +16,7 @@ var sqlSchema = []string{ id varchar(255) NOT NULL PRIMARY KEY, description text NOT NULL, effect text NOT NULL CHECK (effect='allow' OR effect='deny'), - conditions json NOT NULL + conditions text NOT NULL )`, `CREATE TABLE IF NOT EXISTS ladon_policy_subject ( compiled text NOT NULL,