Updating resources
This commit is contained in:
5
db/migrate/20140209080523_add_user_id_to_resource.rb
Normal file
5
db/migrate/20140209080523_add_user_id_to_resource.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddUserIdToResource < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :resources, :user_id, :integer
|
||||
end
|
||||
end
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user