Posts tagged sequel

Mar30

Export to CSV

databases sequel heroku | comments

A quick script to export a database table to CSV is below. Drop into lib/tasks/export.rake (Rails), or directly into your Rakefile, then call at the command line:

Continue reading »

Mar02

Database Versioning

databases activerecord sequel datamapper | comments

Migrations bother me.

On one hand, migrations are the best solution we have for the problem of versioning databases. The scope of that problem includes merging schema changes from different developers, applying schema changes to production data, and creating a DRY representation of the schema.

Continue reading »

Sep14

Database URLs

activerecord databases datamapper sequel | comments

DataMapper and Sequel both use urls for configuring database connections:

Continue reading »