From 705f95545b1f6520ce1fb9c39c6f826484c780bf Mon Sep 17 00:00:00 2001
From: adam <adam@>
Date: Fri, 12 Feb 2021 18:30:36 +0200
Subject: chased away the bugs

---
 sql/fileshare.sql | 1 -
 1 file changed, 1 deletion(-)

(limited to 'sql/fileshare.sql')

diff --git a/sql/fileshare.sql b/sql/fileshare.sql
index 24e6dd1..010b35d 100644
--- a/sql/fileshare.sql
+++ b/sql/fileshare.sql
@@ -33,7 +33,6 @@ create table node_access (
 
 	can_view boolean not null default true,
 	can_edit boolean not null default false,
-	check (can_view=true or can_edit=true) ,
 	foreign key (node_id) references nodes(node_id),
 	foreign key (user_id) references users(user_id)
 );
-- 
cgit v1.2.3

