Sha256: ec8199a43e0cffff139f52cfbae707294434d3fbc3ce5297c05b5afe6961dc4d
Contents?: true
Size: 560 Bytes
Versions: 9
Compression:
Stored size: 560 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 CreateAdhoqExecutions < migration_class def change create_table :adhoq_executions do |t| t.belongs_to :query, null: false t.text :raw_sql, null: false t.string :report_format, null: false t.string :status, null: false, default: 'requested' t.text :log t.timestamps null: false end end end
Version data entries
9 entries across 9 versions & 1 rubygems