Sha256: 0a6f7b6d8dfdb9606552a372350da7cfc1d980f7a15e528ed01560d6cb4d11a6

Contents?: true

Size: 243 Bytes

Versions: 7

Compression:

Stored size: 243 Bytes

Contents

class CreateStage < ActiveRecord::Migration
  def change
    create_table :stages do |t|
      t.string :name, null: false
      t.string :version, null: false, default: '0.0.1'

      t.belongs_to :organization, index: true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cyclid-0.4.0 db/migrate/20160216165211_create_stage.rb
cyclid-0.3.3 db/migrate/20160216165211_create_stage.rb
cyclid-0.3.2 db/migrate/20160216165211_create_stage.rb
cyclid-0.3.1 db/migrate/20160216165211_create_stage.rb
cyclid-0.3.0 db/migrate/20160216165211_create_stage.rb
cyclid-0.2.5 db/migrate/20160216165211_create_stage.rb
cyclid-0.2.4 db/migrate/20160216165211_create_stage.rb