Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.

Use Sequel Pro's colored favourites

Original – by Freek Van der Herten – 2 minute read

Every single day I use Sequel Pro to manage MySQL databases for all projects I'm working on. Sequel Pro gets used in both development and production environments. Because the databases mostly have the same name and tables in all environments it's very easy to mix them up. You have to be really careful and check if you're in the right enviroment when performing a destructive action. In this short blogpost I want to share a tip on how to easily detect if you're working in the right enviroment.

Sequel Pro has an option to apply a color to your favorites. If you pick for instance green for the development environments you'll can easily determine if you are working with development or production data. Here's a screenshot of my favorites.

Screen Shot 2016-07-05 at 18.46.59

In case you don't know Valet and Homestead are two local development environments. Let's open up a database on Valet.

dev database

You see that the tab is colored green, hinting to me that destructive actions are ok. If you don't see the tab, choose Show Tab Bar in the View menu. Let's open up the same database on production.

Screen Shot 2016-07-05 at 18.38.37

You'll notice that this looks very similar to the previous screenshot. But because the tab bar isn't green I immediately know that I shouldn't change data here without a good reason to do so. If you want it to be really explicit, you could opt to color all your production favorites red.

Share Post LinkedIn

I write about Laravel, PHP, AI and building better software.

Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages. Join thousands of developers who read along.

No spam. Unsubscribe anytime. You can also follow me on X.

Found something interesting to share?

The community section is a place where developers share links to articles, tutorials and videos. Submit a link and help fellow developers discover great content. As a thank you, you'll receive a coupon for a discount on Spatie products.