Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added hidden flag for Ringio contacts.
  • Loading branch information
amartinfraguas committed Feb 7, 2011
1 parent de0d449 commit 3c01977
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions db/migrate/20110207172413_add_ringio_hidden_contact_flag.rb
@@ -0,0 +1,9 @@
class AddRingioHiddenContactFlag < ActiveRecord::Migration
def self.up
add_column :contact_maps, :rg_hidden, :boolean, :default => false
end

def self.down
remove_column :contact_maps, :rg_hidden
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20110203120634) do
ActiveRecord::Schema.define(:version => 20110207172413) do

create_table "accounts", :force => true do |t|
t.integer "rg_account_id"
Expand All @@ -34,6 +34,7 @@
t.string "hr_party_type"
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "rg_hidden", :default => false
end

create_table "note_maps", :force => true do |t|
Expand Down

0 comments on commit 3c01977

Please sign in to comment.