aboutsummaryrefslogtreecommitdiffstats
path: root/sql/fileshare.sql
diff options
context:
space:
mode:
authoradam <adam@>2021-02-13 22:12:39 +0200
committeradam <adam@>2021-02-13 22:12:39 +0200
commitfc779bb49a74da78689776391f5ea999c0a03f37 (patch)
tree18d12cf3286c4544acdcea4c8f2c31272e862f93 /sql/fileshare.sql
parentdf1fcd07a15417173404b25b91cb8ac176e421c5 (diff)
downloadfileup-fc779bb49a74da78689776391f5ea999c0a03f37.tar.gz
share is share
Diffstat (limited to 'sql/fileshare.sql')
-rw-r--r--sql/fileshare.sql7
1 files changed, 7 insertions, 0 deletions
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
);