Sha256: 5d04ad040613bb15473e45c8327280806fa7b43e9c4a5f99ef33ef49cab6c124
Contents?: true
Size: 318 Bytes
Versions: 6
Compression:
Stored size: 318 Bytes
Contents
# simple function to handle migrating Gigantron databases module Gigantron def self.migrate_dbs ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true ActiveRecord::Migrator.migrate("#{GTRON_ROOT}/db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil) end end
Version data entries
6 entries across 6 versions & 2 rubygems