All,
I'm trying to migrate a database using Sequel to Heroku and not having
much luck. I have been successful in pushing a database using "heroku
db:push sqlite://db.sqlite".
Here's my rakefile (which does work locally):
<<
namespace :db do
task :migrate do
version = ENV['VERSION'] ? "-M #{ENV['VERSION']}" : ""
system "sequel -m dbMigration #{version} #{ENV['DATABASE_URL']
|| 'sqlite://library.sqlite'} "
end
end
>>
which does work locally.
Does anyone have a simple rakefile or for that matter any instructions
for using sequel migrations and Heroku?
Thanks,
--
Scott
http://steamcode.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.