add user id into file type
This commit is contained in:
@@ -19,8 +19,11 @@ module default {
|
||||
}
|
||||
|
||||
multi accesses -> file_access;
|
||||
required property user_id: str {
|
||||
readonly := true;
|
||||
};
|
||||
|
||||
index on ((.file_id, .file_name, .expires_at));
|
||||
index on ((.file_id, .file_name, .expires_at, .user_id));
|
||||
}
|
||||
|
||||
type file_access {
|
||||
|
||||
Reference in New Issue
Block a user