From fc779bb49a74da78689776391f5ea999c0a03f37 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 13 Feb 2021 22:12:39 +0200 Subject: share is share --- sql/fileshare.sql | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sql') diff --git a/sql/fileshare.sql b/sql/fileshare.sql index 238d7b4..2c6d09b 100644 --- a/sql/fileshare.sql +++ b/sql/fileshare.sql @@ -56,6 +56,13 @@ create table node_links ( foreign key (node_id) references nodes(node_id) on delete cascade ); +/*we store passwords for the shared links here, it doesn't really have anything to do with the filesystem*/ +create table shared_nodes ( + node_id int not null, + passcode varchar(100) default "", + foreign key (node_id) references nodes(node_id) on delete cascade +); + create table trash ( node_id int not null ); -- cgit v1.2.3