Skip to content

Commit

Permalink
Fixed invalid .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Bugno committed Dec 7, 2010
1 parent 77923b6 commit 6ef7a31
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config/deploy.rb

config/*.yml

db/*
db/*.sqlite

builds/*
test/files/*
16 changes: 16 additions & 0 deletions db/migrate/20101207113102_create_step_lists.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class CreateStepLists < ActiveRecord::Migration
def self.up
create_table :step_lists do |t|
t.string :name
t.text :steps
t.integer :project_id, :null => false
t.timestamps
end
remove_column(:projects, :steps)
end

def self.down
drop_table :step_lists
add_column(:projects, :steps, :text)
end
end
18 changes: 18 additions & 0 deletions db/migrate/20101207163104_create_build_parts.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class CreateBuildParts < ActiveRecord::Migration
def self.up
create_table :build_parts do |t|
t.integer :build_id, :null => false
t.string :name
t.text :steps
t.text :output
t.string :status
t.timestamp :started_at
t.timestamp :finished_at
t.timestamps
end
end

def self.down
drop_table :build_parts
end
end

0 comments on commit 6ef7a31

Please sign in to comment.