[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] tiki_comments: Remove default value on text type

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6926fb6d21187_2aa8e05890542@gitlab-sidekiq-low-urgency-cpu-bound-v2-65454b5648-chgs7.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
415bcf58 by ushindi bienvenu at 2025-11-26T12:57:50+00:00
[FIX] tiki_comments: Remove default value on text type
---
* [REM] tiki_comments: Remove default value on text type

See merge request tikiwiki/tiki!9124

- - - - -


2 changed files:

- db/tiki.sql
- + installer/schema/20250509_remove_messageid_default_value_in_tiki_comments_tiki.sql


Changes:

=====================================
db/tiki.sql
=====================================
@@ -717,7 +717,7 @@ CREATE TABLE `tiki_comments` (
   `user_ip` varchar(39) default NULL,
   `summary` varchar(240) default NULL,
   `smiley` varchar(80) default NULL,
-  `message_id` TEXT default NULL,
+  `message_id` TEXT,
   `in_reply_to` varchar(255) default NULL,
   `comment_rating` tinyint(2) default NULL,
   `archived` char(1) default NULL,


=====================================
installer/schema/20250509_remove_messageid_default_value_in_tiki_comments_tiki.sql
=====================================
@@ -0,0 +1 @@
+ALTER TABLE `tiki_comments` ALTER COLUMN `message_id` DROP DEFAULT;
\ No newline at end of file



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/415bcf58d562b7a1a4da310b34e48c0073607181

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/415bcf58d562b7a1a4da310b34e48c0073607181
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.