Remove the now useless mark column on the feedbacks table
This commit is contained in:
parent
fc0c54365f
commit
5059c12b34
2 changed files with 6 additions and 2 deletions
5
db/migrate/20180827111451_remove_mark_on_feedbacks.rb
Normal file
5
db/migrate/20180827111451_remove_mark_on_feedbacks.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class RemoveMarkOnFeedbacks < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_column :feedbacks, :mark
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_08_27_111328) do
|
||||
ActiveRecord::Schema.define(version: 2018_08_27_111451) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -320,7 +320,6 @@ ActiveRecord::Schema.define(version: 2018_08_27_111328) do
|
|||
|
||||
create_table "feedbacks", force: :cascade do |t|
|
||||
t.bigint "user_id"
|
||||
t.integer "mark"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "rating", null: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue