Sha256: d6c20b21a98df5eb50da6c44bcccc05ffd279a989386073d70dee5f6dac491f2

Contents?: true

Size: 516 Bytes

Versions: 64

Compression:

Stored size: 516 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

require 'rails'
require 'active_record/railtie'

migration_class = if ActiveRecord::Migration.respond_to?(:[])
                    ActiveRecord::Migration[4.2]
                  else
                    ActiveRecord::Migration
                  end

class CreateBlocks < migration_class
  def change
    create_table :blocks do |t|
      t.string :name
      t.string :color
      t.timestamps
    end
  end
end

class Block < ActiveRecord::Base
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
instana-1.217.1 test/support/apps/active_record/active_record.rb
instana-1.217.0 test/support/apps/active_record/active_record.rb
instana-1.216.0 test/support/apps/active_record/active_record.rb
instana-1.215.1 test/support/apps/active_record/active_record.rb
instana-1.215.0 test/support/apps/active_record/active_record.rb
instana-1.214.4 test/support/apps/active_record/active_record.rb
instana-1.214.3 test/support/apps/active_record/active_record.rb
instana-1.214.2 test/support/apps/active_record/active_record.rb
instana-1.214.1 test/support/apps/active_record/active_record.rb
instana-1.214.0 test/support/apps/active_record/active_record.rb
instana-1.213.3 test/support/apps/active_record/active_record.rb
instana-1.213.2 test/support/apps/active_record/active_record.rb
instana-1.213.1 test/support/apps/active_record/active_record.rb
instana-1.213.0 test/support/apps/active_record/active_record.rb
instana-1.212.0 test/support/apps/active_record/active_record.rb
instana-1.211.0 test/support/apps/active_record/active_record.rb
instana-1.210.1 test/support/apps/active_record/active_record.rb
instana-1.210.0 test/support/apps/active_record/active_record.rb
instana-1.209.8 test/support/apps/active_record/active_record.rb
instana-1.209.7 test/support/apps/active_record/active_record.rb