lib/ardb.rb in ardb-0.20.0 vs lib/ardb.rb in ardb-0.21.0
- old
+ new
@@ -49,10 +49,11 @@
option :db_file, Pathname, :default => ENV['ARDB_DB_FILE']
option :root_path, Pathname, :required => true
option :logger, :required => true
option :migrations_path, RootPath, :default => proc{ "db/migrations" }
- option :schema_path, RootPath, :default => proc{ "db/schema.rb" }
+ option :schema_path, RootPath, :default => proc{ "db/schema" }
+ option :schema_format, Symbol, :default => :ruby
def self.db_settings
db.to_hash.inject({}) do |settings, (k, v)|
settings[k.to_s] = v if !v.nil?
settings