#databases
- Sqitch: Where to Define Dependencies?
https://justatheory.com/2012/05/sqitch-dependencies
- Data Deployment with Sqitch
https://justatheory.com/2013/08/data-deployment-with-sqitch
- SQL Change Management Sans Duplication
https://justatheory.com/2012/01/sql-change-management-sans-redundancy
Here’s how I propose to eliminate the duplication of code between deploy and revert SQL change management scripts.
- Sqitch: Back to the VCS
https://justatheory.com/2012/06/sqitch-vcs-again
- Some Thoughts on Database Change Management
https://justatheory.com/2009/04/database-change-management
Database migration frameworks and ad-hoc solutions leave things…wanting. Herein lie some preliminary thoughts on how to solve this problem.
- Introducing MyTAP
https://justatheory.com/2010/07/introducing-mytap
After some prodding from the MySQL Community Manager, some OSCON hacking yields tangible results.
- Sqitch — VCS-powered SQL Change Management
https://justatheory.com/2012/04/sqitch-draft
Back in January, I wrote three posts outlining some ideas I had about a straight-forward, sane way of managing SQL change management. The idea revolved around specifying scripts to deploy and revert in a plan file, and generating that plan file from VCS history. I still feel pretty good about the ideas there, and work has agreed to let me write it and open-source it. Here is the first step making it happen. I call it “Sqitch.”
- Keep DBI's connect_cached From Horking Transactions
https://justatheory.com/2009/09/dbi-connect-cached-hack
I’ve been on a bit of a Perl hacking tear lately. In addition to knocking out Test::XPath last week, I’ve been experimenting with TAP::Harness sources, Template::Declare, Catalyst views, a new Module::Build subclass for building database-backed applications, and, last but not least, an IRC logging bot. Oh, and that application I’m working on for PGX with Quinn Weaver. So much is crowding my mind these days that I’m having trouble sleeping. Tonight I’m up late hacking to try to get some of this stuff out of my head.
- Simple SQL Change Management
https://justatheory.com/2012/01/simple-sql-change-management
I’ve been thinking a lot about SQL change management. I think I may finally have cracked this thing wide open.
- Sqitch Update: Almost Usable
https://justatheory.com/2012/07/sqitch-almost-usable
- VCS-Enabled SQL Change Management
https://justatheory.com/2012/01/vcs-sql-change-management
Some thoughts on how to use VCS history to determine what changes need to be deployed or reverted without relying on a configuration file.
- Sqitch Update: All Your Rebase Are...Never Mind
https://justatheory.com/2012/12/sqitch-rebase
- How to Generate Recurring Events in the Database
https://justatheory.com/2008/01/postgres-recurring-events
Going deep on using Postgres functions to create efficient recurring events.
- Sqitch: Rename Step Objects and the SQL Directory?
https://justatheory.com/2012/06/sqitch-steps-to-change
After all of the thinking and rethinking about how to manage a Sqitch plan, I am just about done with all the changes to make it all work. One of the changes I’ve made is that tags are no longer objects that stand on their own between change steps, but are simply names the refer to specific change steps. Not only is this much more like how a VCS thinks of tags (basically another name for a single commit), but it also greatly simplifies the code for iterating over a plan and updating metadata in the database.
- Always Use TIMESTAMP WITH TIME ZONE
https://justatheory.com/2012/04/postgres-use-timestamptz
- My Catalyst Tutorial: Add Authors to the View
https://justatheory.com/2009/11/sql-view-aggregate-magic
- Toward A Database URI Standard
https://justatheory.com/2013/11/toward-a-database-uri-standard
Follow #databases
on RSS or use the
JSON API
curl -X GET \
-H "Content-type: application/json" \
-H "Accept: application/json" \
"https://octothorp.es/~/databases"