Sha256: d586865b14c385ac87f2b00b1f34ee4ba55132f06fbe205167b92bb2c4e16230
Contents?: true
Size: 380 Bytes
Versions: 27
Compression:
Stored size: 380 Bytes
Contents
class CreateDgPlv8V1Fns < ActiveRecord::Migration def change connection.execute <<-SQL -- required to utilize plv8 extension CREATE EXTENSION IF NOT EXISTS plv8; SQL marty_path = Gem.loaded_specs["marty"].full_gem_path Dir.glob("#{marty_path}/db/js/*_v1.js") do |f| connection.execute(Marty::Migrations.get_plv8_migration(f)) end end end
Version data entries
27 entries across 27 versions & 1 rubygems