rubenv / rubenv/sql-migrate

Tutorial

Open
#108 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

I miss an easy tutorial that describes in greater detail how to use sql-migrate. I searched google without luck.

The test-migrations dir currently contains 2 files. It would be nice to see a longer list of migrations. Perhaps 7 migrations, showing more sql commands. This would be a great way to demo how to use the -limit=x parameter.

Here is a comparison of migration tools that mentions sql-migrate.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing files in the test-migrations directory and the current sql-migrate usage documentation. Expand the migration examples to roughly seven migrations with additional SQL commands, and demonstrate the -limit=x parameter; done means the tutorial gives a clearer, longer example than the current two-file set.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.