Got macs working

This commit is contained in:
2013-01-31 22:39:33 -07:00
parent 998558cd30
commit 04764af983
7 changed files with 60 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
class AddPropertiesToMacs < ActiveRecord::Migration
def change
add_column :macs, :hidden, :boolean
add_column :macs, :note, :string
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20130201022153) do
ActiveRecord::Schema.define(:version => 20130201042646) do
create_table "cards", :force => true do |t|
t.string "card_number"
@@ -52,6 +52,8 @@ ActiveRecord::Schema.define(:version => 20130201022153) do
t.boolean "active"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.boolean "hidden"
t.string "note"
end
add_index "macs", ["user_id"], :name => "index_macs_on_user_id"