Got macs working
This commit is contained in:
6
db/migrate/20130201042646_add_properties_to_macs.rb
Normal file
6
db/migrate/20130201042646_add_properties_to_macs.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddPropertiesToMacs < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :macs, :hidden, :boolean
|
||||
add_column :macs, :note, :string
|
||||
end
|
||||
end
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user