From 33fac9917d52f277082bd33652d58a33f5067cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Emin=20=C4=B0NA=C3=87?= Date: Mon, 29 Jun 2015 22:58:45 +0300 Subject: Minor addition to getting started guide for foreign_key description of references migration [ci skip] --- guides/source/getting_started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides') diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index dfdc11de7a..b5054549e2 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1555,8 +1555,8 @@ end ``` The `t.references` line creates an integer column called `article_id`, an index -for it, and a foreign key constraint that points to the `articles` table. Go -ahead and run the migration: +for it, and a foreign key constraint that points to the `id` column of the `articles` +table. Go ahead and run the migration: ```bash $ bin/rake db:migrate -- cgit v1.2.3