chore(messages/labels): removed unnecessary npwd_messages_labels column (#253)

This commit is contained in:
Jan Lecoutere authored and GitHub committed 2021-06-09 20:21:20 +02:00
1 parent 94633e53a6
commit 865a8e44de
3 files changed
+11 -18

No files matched your search

-10
View File
@@ -133,16 +133,6 @@ CREATE TABLE IF NOT EXISTS `npwd_messages_groups` (
PRIMARY KEY (`id`)
);
CREATE TABLE IF NOT EXISTS `npwd_messages_labels` (
`id` int NOT NULL AUTO_INCREMENT,
`user_identifier` varchar(48) NOT NULL,
`label` varchar(60) NOT NULL,
`createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updatedAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`group_id` varchar(512) NOT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE IF NOT EXISTS `npwd_messages` (
`id` int NOT NULL AUTO_INCREMENT,
`message` varchar(512) NOT NULL,