]> WPIA git - gigi.git/blob - src/org/cacert/gigi/database/upgrade/from_5.sql
fix: ResultSet.getDate is often wrong as it fetches day-precision times
[gigi.git] / src / org / cacert / gigi / database / upgrade / from_5.sql
1 DROP TABLE IF EXISTS `passwordResetTickets`;
2 CREATE TABLE `passwordResetTickets` (
3   `id` serial NOT NULL,
4   `memid` int NOT NULL,
5   `creator` int NOT NULL,
6   `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
7   `used` timestamp NULL DEFAULT NULL,
8   `token` varchar(32) NOT NULL,
9   `private_token` varchar(255) NOT NULL,
10   PRIMARY KEY (`id`)
11 );