[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][DB] Change url field in tiki_performance table from VARCHAR(255) to TEXT to...

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68f7f585dc9eb_2de1a8c67225@gitlab-sidekiq-low-urgency-cpu-bound-v2-78b8645bbd-lrnp7.mail>

Baraka Kinywa pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
5cdf618b by Yves Ngalamulume at 2025-10-21T23:58:27+03:00
[BP][DB] Change url field in tiki_performance table from VARCHAR(255) to TEXT to...
---
* [DB] Change url field in tiki_performance table from VARCHAR(255) to TEXT to accommodate longer URLs
---
* [UPD] Change url field in tiki_performance table from VARCHAR(255) to TEXT to accommodate longer URLs

* [UPD] Change url field in tiki_performance table from VARCHAR(255) to TEXT to accommodate longer URLs

* [FIX] Validate URL length in addRecord method to prevent oversized entries

See merge request tikiwiki/tiki!8483

See merge request tikiwiki/tiki!8832

- - - - -


2 changed files:

- db/tiki.sql
- + installer/schema/20250903_performance_url_text_tiki.sql


Changes:

=====================================
db/tiki.sql
=====================================
@@ -4050,7 +4050,7 @@ CREATE TABLE `tiki_oauthserver_clients` (
 DROP TABLE IF EXISTS `tiki_performance`;
 CREATE TABLE `tiki_performance` (
     `id` int(12) NOT NULL AUTO_INCREMENT,
-    `url` varchar (255) NOT NULL,
+    `url` TEXT NOT NULL,
     `time_taken` int(12) NOT NULL,
     PRIMARY KEY (`id`)
 ) ENGINE=MyISAM;


=====================================
installer/schema/20250903_performance_url_text_tiki.sql
=====================================
@@ -0,0 +1 @@
+ALTER TABLE `tiki_performance` MODIFY `url` text NOT NULL;
\ No newline at end of file



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5cdf618bdcae3ea8c445786f9c2972f8438c26bb

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5cdf618bdcae3ea8c445786f9c2972f8438c26bb
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.