Sha256: 3f0d4f5a0db0ce7248a6958cc0a84101861d7b5ed0251d52e2b8705af2debc7f

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

require_relative './migration_helper'

class CheckViewExists < MigrationHelper.migration_base_class
  def up
    raise 'View should exist!' if !cti_view_exists?('Car')
  end
  
  def down
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dbview_cti-0.2.3 spec/dummy-rails-3/db/migrate/20140408013710_check_view_exists.rb