Sha256: 42a953baac1c6eceee818e04f0f899b5d2a3f7c1b5dcfdbd12841993f084e2fc

Contents?: true

Size: 388 Bytes

Versions: 5

Compression:

Stored size: 388 Bytes

Contents

class CreateProjects < ActiveRecord::Migration
  def self.up
    create_table :projects do |t|
      t.string :repo
      t.string :name
      t.string :slug
      
      t.text :preferences
      
      t.string :status, :default => 'preparing'
      t.datetime :last_build
      t.datetime :locked_at
      t.timestamps
    end
  end

  def self.down
    drop_table :projects
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ginst-2009.12.8 db/migrate/20091025163717_create_projects.rb
ginst-2009.11.24 db/migrate/20091025163717_create_projects.rb
ginst-2009.11.23 db/migrate/20091025163717_create_projects.rb
ginst-2.0.1 db/migrate/20091025163717_create_projects.rb
ginst-2.0.0 db/migrate/20091025163717_create_projects.rb