Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Removed site status field
Browse files Browse the repository at this point in the history
  • Loading branch information
dce committed Oct 23, 2009
1 parent 0aba07a commit 91dca13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions 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
3 changes: 1 addition & 2 deletions db/schema.rb
Expand Up @@ -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
Expand Down

0 comments on commit 91dca13

Please sign in to comment.