summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-11 11:53:41 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-11 12:10:04 +0100
commit529d83b19e502b2d2c951954112e4faf00101452 (patch)
tree5abd44670b3592bd3369810141b5e9c552dd5017 /src/dbi.h
parentbc787a9a68de88cd534f8cb8541ecec0861a2053 (diff)
rest: Support adding clients inside folder
Add support for adding clients that are inside a folder. Add new folder_id field, if zero it means computer is not in a folder.
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 3b88861..37ecf2b 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -82,6 +82,7 @@ struct og_computer {
unsigned int repo_id;
unsigned int center;
unsigned int room;
+ unsigned int folder_id;
unsigned int id;
bool maintenance;
bool remote;