mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-29 16:18:22 +00:00
Add routes for storing/retrieving client settings
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `client_settings` (
|
||||
`id` varchar(254) not null primary key,
|
||||
`client_id` varchar(254) not null,
|
||||
`user_id` varchar(254) not null,
|
||||
`settings_data` longtext not null,
|
||||
`created` timestamp not null,
|
||||
`updated` timestamp not null,
|
||||
foreign key (`user_id`) references `user_`(`uid`) on delete cascade,
|
||||
unique (`client_id`, `user_id`)
|
||||
);
|
Reference in New Issue
Block a user