When an internal tool starts as a single-user application on SQLite, almost every query carries an unspoken assumption: whoever is running the app owns all the data. A request for record 42 just fetches row 42. Moving that tool to a shared service breaks that assumption immediately. Once two people share the same database, a […]
The ongoing conversation
Category: Database
A Stop Button Is a Data-Integrity Feature
When an application kicks off a long-running task, whether that means generating a tailored document, compiling an archive, or waiting on an external API, adding a Stop button looks like a simple courtesy. If someone clicks by mistake or spots an error in their input, they can cancel the request and regain control of the […]
A Date on an Image Is Not Necessarily the Date of the Evidence
You take a screenshot of an aerial map to check whether a new footbridge is in place on a park trail. The file on your desktop is dated today, and the corner of the map says “© 2026”. Neither date tells you when the camera actually flew over the park; both can be completely accurate […]
The Close Button Is Part of Your Data-Integrity Design
Most editing dialogs have at least four ways out: the Cancel button, the X in the title bar, the Escape key, and clicking the backdrop. They all seem like the same action, “never mind”, but only one of them is usually designed; the others just inherit whatever the dialog library does, which is just to […]
A Green Health Check Doesn’t Mean the App Can Connect
A health check answers only the question it was written for. If that isn’t the question the application needs answered, the check can be green while the application fails on its first connection. Here is a fictional example. A containerized web application depends on a database container. The database’s health check runs a command inside […]
A Cached Count Is a Business Rule, Not Just a Number
Suppose a comics database shows each series with a count of its issues, and the count is cached so the page doesn’t have to total thousands of rows on every view. The number looks harmless. But the moment someone asks whether a variant cover is an issue, the cached count stops being a number and […]
A Date and a Time Are Not Yet a Timestamp
If an event organizer tells you a run starts at 1:30 a.m. on Sunday, November 1, they have given you a date and a time. What they haven’t given you is a timestamp. In any region that observes daylight saving time, 1:30 a.m. on the first Sunday of November happens twice. When the clocks “fall […]
When a Database’s Encoding Label Is Wrong
Modernizing an older database rarely comes down to changing a configuration switch from Latin-1 to UTF-8. Take an application that has run for fifteen years across several server migrations. You inspect the schema and see columns declared as latin1. But looking at the actual text, you find users have been entering em dashes, smart quotes, accented […]
A Backup Passed Its Checksum. Could the Site Actually Run?
A passing checksum tells you the backup file is the same file you created, but it doesn’t tell you the site can be restored from it. Take a fictional small-business website with a nightly database dump and a copy of its uploaded files. The dump finishes, the copy matches its checksum, and the dashboard turns […]
One Notes Field, Many Rendering Contracts
Adding Markdown to a long-running catalog sounds like a single decision: install a parser and turn plain text into HTML, but in a mature database, “Notes” isn’t one place. In the Grand Comics Database (GCD), there are notes on issue records, creator biographies, brand groups, reprint relationships, and character appearances. Some notes sit in a […]