Skip to content

Commit ab09bcd

Browse files
committed
feat: add migration for enabling solution acceptance in forum threads
1 parent 2b55169 commit ab09bcd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ALTER TABLE `pph_post_assist_config`
2+
ADD COLUMN IF NOT EXISTS `enable_accept_solutions` BOOLEAN DEFAULT FALSE;
3+
4+
CREATE TABLE
5+
IF NOT EXISTS `pph_post_assist_config_accept_solutions` (
6+
`id` INT (11) NOT NULL AUTO_INCREMENT,
7+
`thread_id` INT (11) NOT NULL,
8+
`post_assist_config_id` INT (11) NOT NULL,
9+
`user_id` INT (11) NOT NULL,
10+
`created_at` DATETIME NOT NULL,
11+
);

0 commit comments

Comments
 (0)