lib/hippo/db.rb in hippo-fw-0.9.4 vs lib/hippo/db.rb in hippo-fw-0.9.5

- old
+ new

@@ -20,10 +20,12 @@ path = Pathname.new("./db/seed.rb") load path if path.exist? end def configure_rake_environment + require_relative "./db/fake_rails" + require_relative './db/migrations' ActiveRecord::Tasks::DatabaseTasks.seed_loader = Hippo::DB default_schema = Extensions.controlling.root_path.join("db","schema.rb") ENV['SCHEMA'] ||= default_schema.to_s ENV['DB_STRUCTURE'] ||= default_schema.to_s ActiveRecord::Base.dump_schema_after_migration = !Hippo.env.production? @@ -52,7 +54,5 @@ end ActiveRecord::Base.logger = Hippo.logger end - -require_relative './db/migrations'