Skip to content

Commit

Permalink
remove tasks migration
Browse files Browse the repository at this point in the history
  • Loading branch information
danryan committed Aug 30, 2012
1 parent 75bb94d commit 7bc4ced
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 32 deletions.
15 changes: 0 additions & 15 deletions db/migrate/20120827050707_create_tasks.rb

This file was deleted.

3 changes: 2 additions & 1 deletion db/migrate/20120828020629_create_jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ def change
t.string :name
t.string :definition
t.text :fields, default: {}.to_json
t.text :results, default: {}.to_json
t.text :last_results, default: {}.to_json
t.string :last_wfid
t.string :state

t.timestamps
t.datetime :last_failure_at
t.datetime :last_success_at
t.datetime :last_canceled_at
end
end
end
21 changes: 5 additions & 16 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,15 @@
create_table "jobs", :force => true do |t|
t.string "name"
t.string "definition"
t.text "fields", :default => "{}"
t.text "results", :default => "{}"
t.text "fields", :default => "{}"
t.text "last_results", :default => "{}"
t.string "last_wfid"
t.string "state"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "last_failure_at"
t.datetime "last_success_at"
end

create_table "tasks", :force => true do |t|
t.string "definition"
t.text "fields"
t.text "result"
t.string "last_wfid"
t.string "state"
t.integer "position"
t.integer "job_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "last_canceled_at"
end

end

0 comments on commit 7bc4ced

Please sign in to comment.