No Null for Invitation status
This commit is contained in:
@@ -1675,7 +1675,7 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||||||
`attendee_id` INT(11) NOT NULL AUTO_INCREMENT,
|
`attendee_id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
`attendee_name` VARCHAR(200) DEFAULT NULL,
|
`attendee_name` VARCHAR(200) DEFAULT NULL,
|
||||||
`attendee_email` VARCHAR(200) DEFAULT NULL,
|
`attendee_email` VARCHAR(200) DEFAULT NULL,
|
||||||
`attendee_invitation_status` TINYINT(1) DEFAULT 0,
|
`attendee_invitation_status` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
`attendee_created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP(),
|
`attendee_created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP(),
|
||||||
`attendee_updated_at` DATETIME DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
`attendee_updated_at` DATETIME DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`attendee_archived_at` DATETIME DEFAULT NULL,
|
`attendee_archived_at` DATETIME DEFAULT NULL,
|
||||||
|
|||||||
4
db.sql
4
db.sql
@@ -545,7 +545,7 @@ CREATE TABLE `event_attendees` (
|
|||||||
`attendee_id` int(11) NOT NULL AUTO_INCREMENT,
|
`attendee_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`attendee_name` varchar(200) DEFAULT NULL,
|
`attendee_name` varchar(200) DEFAULT NULL,
|
||||||
`attendee_email` varchar(200) DEFAULT NULL,
|
`attendee_email` varchar(200) DEFAULT NULL,
|
||||||
`attendee_invitation_status` tinyint(1) DEFAULT 0,
|
`attendee_invitation_status` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`attendee_created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
`attendee_created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||||
`attendee_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
`attendee_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||||||
`attendee_archived_at` datetime DEFAULT NULL,
|
`attendee_archived_at` datetime DEFAULT NULL,
|
||||||
@@ -1803,4 +1803,4 @@ CREATE TABLE `vendors` (
|
|||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2024-03-19 17:07:09
|
-- Dump completed on 2024-03-19 17:11:58
|
||||||
|
|||||||
Reference in New Issue
Block a user