Sha256: bb8779261a64e2498f9cb21668c158d108548664871f6f2123ecac7adf914910

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

class CreatePipelines < ActiveRecord::Migration[5.0]
  def change
    create_table :pipelines do |t|
      t.references :project, foreign_key: true, null: true
      t.string :definition
      t.json :event
      t.text :variables
      t.string :stage
      t.string :status
      t.string :error

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jobs-api-0.2.1 db/migrate/20161108233030_create_pipelines.rb
jobs-api-0.2.0 db/migrate/20161108233030_create_pipelines.rb
jobs-api-0.1.2 db/migrate/20161108233030_create_pipelines.rb
jobs-api-0.1.1 db/migrate/20161108233030_create_pipelines.rb
jobs-api-0.1.0 db/migrate/20161108233030_create_pipelines.rb