persisting orders and guests
This commit is contained in:
@@ -27,15 +27,15 @@ DROP TABLE IF EXISTS `guests`;
|
||||
CREATE TABLE `guests` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`order_id` int(11) NOT NULL,
|
||||
`name` varchar(64) NOT NULL,
|
||||
`email` varchar(64) NOT NULL,
|
||||
`phone` varchar(64) NOT NULL,
|
||||
`childcare` tinyint(4) NOT NULL,
|
||||
`valet` tinyint(4) NOT NULL,
|
||||
`restrictions` tinyint(4) NOT NULL,
|
||||
`table` int(11) NOT NULL,
|
||||
`paddle` int(11) NOT NULL,
|
||||
`stripe_id` varchar(64) DEFAULT NULL,
|
||||
`name` varchar(64) NULL,
|
||||
`email` varchar(64) NULL,
|
||||
`phone` varchar(64) NULL,
|
||||
`childcare` tinyint(4) NULL,
|
||||
`valet` tinyint(4) NULL,
|
||||
`restrictions` tinyint(4) NULL,
|
||||
`table` int(11) NULL,
|
||||
`paddle` int(11) NULL,
|
||||
`stripe_id` varchar(64) NULL,
|
||||
`uuid` varchar(64) NOT NULL,
|
||||
`date_created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
|
||||
Reference in New Issue
Block a user