<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug: Updating company columns when time field exists]]></title><description><![CDATA[<p dir="auto">Hello team,</p>
<p dir="auto">Bug:<br />
When adding a column to a table with a time field that has an existing default value, the alteration fails.</p>
<p dir="auto">Expected behavior:<br />
It should work <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
<p dir="auto">Problem:<br />
When rendering the default value for the time field, the number is formatted for humans. I.e. 110000 becomes 11:00:00 in the UI.</p>
<p dir="auto">However, when altering the table, your code is performing an UPDATE query that tries to set 11:00:00 as the default value for a TIME type column, which fails.</p>
<p dir="auto">Workaround:<br />
Manually editing 11:00:00 to 110000 before saving your changes to the table causes the update to succeed.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a></p>
]]></description><link>https://community.appdrag.com/topic/1229/bug-updating-company-columns-when-time-field-exists</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 21:20:54 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/1229.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Mar 2023 12:22:02 GMT</pubDate><ttl>60</ttl></channel></rss>