mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 02:49:32 +00:00
Fix mariadb migration
This commit is contained in:
parent
ddccfb3d3d
commit
cf92550de4
@ -1,10 +1,10 @@
|
|||||||
RENAME TABLE `client_settings` TO `client_settings_user`;
|
RENAME TABLE `client_settings` TO `client_settings_user`;
|
||||||
|
|
||||||
CREATE TABLE `client_settings` (
|
CREATE TABLE `client_settings_collective` (
|
||||||
`id` varchar(254) not null primary key,
|
`id` varchar(254) not null primary key,
|
||||||
|
`client_id` varchar(254) not null,
|
||||||
`cid` varchar(254) not null,
|
`cid` varchar(254) not null,
|
||||||
`user_id` varchar(254) not null,
|
`settings_data` text not null,
|
||||||
`settings_data` longtext not null,
|
|
||||||
`created` timestamp not null,
|
`created` timestamp not null,
|
||||||
`updated` timestamp not null,
|
`updated` timestamp not null,
|
||||||
foreign key (`cid`) references `collective`(`cid`) on delete cascade,
|
foreign key (`cid`) references `collective`(`cid`) on delete cascade,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user