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