Phase 10 — Admin Role & Settings (ADMIN-01/02/03) #17
@@ -0,0 +1,11 @@
|
|||||||
|
CREATE TABLE `app_config` (
|
||||||
|
`key` varchar(128) NOT NULL,
|
||||||
|
`value` text,
|
||||||
|
`updated_at` timestamp DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
CONSTRAINT `app_config_key` PRIMARY KEY(`key`)
|
||||||
|
);
|
||||||
|
--> statement-breakpoint
|
||||||
|
ALTER TABLE `calendar_events` ADD `reminder_lead_minutes` int;--> statement-breakpoint
|
||||||
|
ALTER TABLE `member_credentials` ADD `provider_type` varchar(64) DEFAULT 'caldav' NOT NULL;--> statement-breakpoint
|
||||||
|
ALTER TABLE `users` ADD `is_admin` boolean DEFAULT false NOT NULL;--> statement-breakpoint
|
||||||
|
ALTER TABLE `member_credentials` ADD CONSTRAINT `uniq_member_credential_user` UNIQUE(`user_id`);
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,13 @@
|
|||||||
"when": 1781202409890,
|
"when": 1781202409890,
|
||||||
"tag": "0000_baseline",
|
"tag": "0000_baseline",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 1,
|
||||||
|
"version": "5",
|
||||||
|
"when": 1781374816375,
|
||||||
|
"tag": "0001_famous_mad_thinker",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user