Sha256: 6aa8b0bd823cdef49d09acef505d7ff0d17d7682aa63eb4414234d017eb27d58

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

class CreateBuilds < ActiveRecord::Migration
  def self.up
    create_table "build_reports", :force => true do |t|
      t.column :sha, :string
      t.column :branch, :string
      t.column :build_time, :string
      t.column :duration, :string
      t.column :response, :text
      t.column :status, :boolean
      t.column :repo_id, :integer
    end
    #add_index :build_reports, :repo_id, :unique => true
  end

  def self.down
    drop_table "build_reports"
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
perkins-0.0.5 db/migrate/20150130143050_create_builds.rb