Updating resources

This commit is contained in:
2014-02-09 02:08:08 -07:00
parent e16e35e098
commit 58926cf3ab
7 changed files with 55 additions and 33 deletions

View File

@@ -0,0 +1,5 @@
class AddUserIdToResource < ActiveRecord::Migration
def change
add_column :resources, :user_id, :integer
end
end

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20140209072532) do
ActiveRecord::Schema.define(:version => 20140209080523) do
create_table "cards", :force => true do |t|
t.string "card_number"
@@ -140,6 +140,7 @@ ActiveRecord::Schema.define(:version => 20140209072532) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "estimated_value"
t.integer "user_id"
end
create_table "settings", :force => true do |t|