make is_active = true the default for new users

This commit is contained in:
David Rodenkirchen 2024-11-30 12:13:20 +01:00
parent 64cf86e01d
commit 18ff806d3b

View File

@ -176,7 +176,7 @@ CREATE TABLE `users` (
`user_first_name` varchar(50) DEFAULT NULL, `user_first_name` varchar(50) DEFAULT NULL,
`user_last_name` varchar(50) DEFAULT NULL, `user_last_name` varchar(50) DEFAULT NULL,
`user_birth_date` date DEFAULT NULL, `user_birth_date` date DEFAULT NULL,
`is_active` tinyint(4) DEFAULT NULL, `is_active` tinyint(4) DEFAULT 1,
`is_team_member` tinyint(4) DEFAULT NULL, `is_team_member` tinyint(4) DEFAULT NULL,
`is_admin` tinyint(4) DEFAULT NULL, `is_admin` tinyint(4) DEFAULT NULL,
`created_at` datetime DEFAULT current_timestamp(), `created_at` datetime DEFAULT current_timestamp(),