From c4f02ec4b6d1c21f10618c9175cd67c551ba208e Mon Sep 17 00:00:00 2001 From: ngoomie Date: Sun, 7 May 2023 19:15:24 -0600 Subject: [PATCH] `thread_id` in `posts` table should not autoincrement --- lib/CharmBoard/Schema/Result/Posts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CharmBoard/Schema/Result/Posts.pm b/lib/CharmBoard/Schema/Result/Posts.pm index cd09783..85c8774 100644 --- a/lib/CharmBoard/Schema/Result/Posts.pm +++ b/lib/CharmBoard/Schema/Result/Posts.pm @@ -13,7 +13,7 @@ __PACKAGE__->add_columns( is_nullable => 0, }, thread_id => { data_type => 'integer', - is_auto_increment => 1, + is_auto_increment => 0, is_nullable => 0, }, post_date => { data_type => 'integer',