Add a message field for invitations reponse

master
Daniel Berteaud 11 years ago
parent d597d4a790
commit 47a67681f9
  1. 1
      docs/schema.mysql
  2. 1
      docs/upgrade.mysql

@ -38,6 +38,7 @@ CREATE TABLE `invitations` (
`token` varchar(160) NOT NULL, `token` varchar(160) NOT NULL,
`from` varchar(60) NOT NULL, `from` varchar(60) NOT NULL,
`response` varchar(20) DEFAULT NULL, `response` varchar(20) DEFAULT NULL,
`message` text DEFAULT NULL,
`processed` tinyint(1) DEFAULT '0', `processed` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`,`email`,`from`) PRIMARY KEY (`id`,`email`,`from`)
); );

@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS `invitations` (
`token` varchar(160) NOT NULL, `token` varchar(160) NOT NULL,
`from` varchar(60) NOT NULL, `from` varchar(60) NOT NULL,
`response` varchar(20) DEFAULT NULL, `response` varchar(20) DEFAULT NULL,
`message` text DEFAULT NULL,
`processed` tinyint(1) DEFAULT '0', `processed` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`,`email`,`from`) PRIMARY KEY (`id`,`email`,`from`)
); );

Loading…
Cancel
Save