Sha256: 47ea93275f971222f5976b7f0fe62bf8ceec901715fa0c5c18ba809ca59b2ebb

Contents?: true

Size: 567 Bytes

Versions: 3

Compression:

Stored size: 567 Bytes

Contents

class CreateDeploys < ActiveRecord::Migration
  def up
    create_table :deploys do |t|
      t.text :actions
      t.string :branch
      t.string :environment
      t.string :box
      t.text :variables
      t.string :commit
      t.datetime :started_at
      t.datetime :finished_at
      t.boolean :in_progress, :default => false
      t.boolean :was_successful
      t.text :log
      t.string :via
      t.string :on_behalf_of
      t.references :project
      t.references :user

      t.timestamps
    end
  end

  def down
    drop_table :deploys
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep_thought-0.2.1 db/migrate/20130509014935_create_deploys.rb
deep_thought-0.1.1 db/migrate/20130509014935_create_deploys.rb
deep_thought-0.1.0 db/migrate/20130509014935_create_deploys.rb