Sha256: 84d60b26cadc19e51fb2c983b1aecb1b7be1537206bcbc333131c85420bedd27
Contents?: true
Size: 513 Bytes
Versions: 9
Compression:
Stored size: 513 Bytes
Contents
major, minor, _ = Rails.version.split('.').map(&:to_i) migration_class = (major > 5 || major == 5 && minor >= 1) ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration class CreateAdhoqReports < migration_class def change create_table :adhoq_reports do |t| t.belongs_to :execution, null: false, index: true t.string :identifier, null: false t.time :generated_at, null: false t.string :storage, null: false t.timestamps null: false end end end
Version data entries
9 entries across 9 versions & 1 rubygems