Sha256: 247d1a2bb35aec644eb55b3bcc8650f83a6785da19f8bca63d499b7534d31ed1

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 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, :string
      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

3 entries across 3 versions & 1 rubygems

Version Path
perkins-0.0.3 db/migrate/20150130143050_create_builds.rb
perkins-0.0.2 db/migrate/20150130143050_create_builds.rb
perkins-0.0.1 db/migrate/20150130143050_create_builds.rb