Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]評価方法変更(☆5段階) #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions db/migrate/20161205134118_add_rate_to_item_reviews.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddRateToItemReviews < ActiveRecord::Migration
def change
add_column :item_reviews, :rate, :integer
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20161120162732) do
ActiveRecord::Schema.define(version: 20161205134118) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand All @@ -22,6 +22,7 @@
t.text "comment"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "rate"
end

create_table "items", force: :cascade do |t|
Expand Down