Browse files

Removed site status field

  • Loading branch information...
1 parent 0aba07a commit 91dca1329d143c45b6c4ca717b6848c2cb5a6ba2 @dce dce committed Oct 23, 2009
Showing with 10 additions and 2 deletions.
  1. +9 −0 db/migrate/002_remove_site_status.rb
  2. +1 −2 db/schema.rb
View
9 db/migrate/002_remove_site_status.rb
@@ -0,0 +1,9 @@
+class RemoveSiteStatus < ActiveRecord::Migration
+ def self.up
+ remove_column :sites, :status_record
+ end
+
+ def self.down
+ add_column :sites, :status_record, :string
+ end
+end
View
3 db/schema.rb
@@ -9,15 +9,14 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 1) do
+ActiveRecord::Schema.define(:version => 2) do
create_table "sites", :force => true do |t|
t.string "name"
t.string "url"
t.text "match_text"
t.integer "threshold"
t.string "email"
- t.string "status_record"
t.datetime "created_at"
t.datetime "updated_at"
end

0 comments on commit 91dca13

Please sign in to comment.