Sha256: 648d1953487d782eae7e1bff6d29c54827652b9b7106a631453f8255056fccb5

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

class CreateAdhoqExecutions < ActiveRecord::Migration
  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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adhoq-0.0.5 db/migrate/20141006014750_create_adhoq_executions.rb
adhoq-0.0.4 db/migrate/20141006014750_create_adhoq_executions.rb
adhoq-0.0.3 db/migrate/20141006014750_create_adhoq_executions.rb
adhoq-0.0.2 db/migrate/20141006014750_create_adhoq_executions.rb