From afe2202e26ba43e2842789f96ddd82ae235d6c13 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Fri, 29 Dec 2017 13:24:20 +0300 Subject: [PATCH] Add more info about db:setup task --- source/4.0/learn/sql/migrations.html.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/4.0/learn/sql/migrations.html.md b/source/4.0/learn/sql/migrations.html.md index 205f7e834..fa7f1655e 100644 --- a/source/4.0/learn/sql/migrations.html.md +++ b/source/4.0/learn/sql/migrations.html.md @@ -19,6 +19,7 @@ require 'rom/sql/rake_task' namespace :db do task :setup do # your ROM setup code + ROM::SQL::RakeSupport.env = ROM.container(:sql, 'postgres://localhost/rom') end end ```