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.209.6 test/support/apps/active_record/active_record.rb
instana-1.209.5 test/support/apps/active_record/active_record.rb
instana-1.209.4 test/support/apps/active_record/active_record.rb
instana-1.209.3 test/support/apps/active_record/active_record.rb
instana-1.209.2 test/support/apps/active_record/active_record.rb
instana-1.209.1 test/support/apps/active_record/active_record.rb
instana-1.209.0.pre3 test/support/apps/active_record/active_record.rb
instana-1.209.0.pre2 test/support/apps/active_record/active_record.rb
instana-1.209.0.pre1 test/support/apps/active_record/active_record.rb
instana-1.208.0 test/support/apps/active_record/active_record.rb
instana-1.207.0 test/support/apps/active_record/active_record.rb
instana-1.206.0 test/support/apps/active_record/active_record.rb
instana-1.205.0 test/support/apps/active_record/active_record.rb
instana-1.204.0 test/support/apps/active_record/active_record.rb
instana-1.204.0.pre3 test/support/apps/active_record/active_record.rb
instana-1.204.0.pre2 test/support/apps/active_record/active_record.rb
instana-1.204.0.pre1 test/support/apps/active_record/active_record.rb
instana-1.203.2 test/support/apps/active_record/active_record.rb
instana-1.203.1 test/support/apps/active_record/active_record.rb
instana-1.203.0 test/support/apps/active_record/active_record.rb