Sha256: 37f271e2b2ed67b94d068dd4684fcb8340a3679b4262e6906b365dc495250975
Contents?: true
Size: 291 Bytes
Versions: 24
Compression:
Stored size: 291 Bytes
Contents
class UpdateDgPlpgsqlV1Fns < ActiveRecord::Migration[4.2] def up marty_path = Gem.loaded_specs["marty"].full_gem_path Dir.glob("#{marty_path}/db/sql/*_v1.sql") do |f| connection.execute(File.read(f)) end end def down # Load functions once again up end end
Version data entries
24 entries across 24 versions & 1 rubygems