Merge pull request #6687 from betagouv/drop_feedbacks_table

Supprime la table obsolete feedbacks
This commit is contained in:
Paul Chavard 2021-11-27 13:05:39 +03:00 committed by GitHub
commit 6037c22a75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View file

@ -0,0 +1,5 @@
class Dropfeedbackstable < ActiveRecord::Migration[6.1]
def up
drop_table(:feedbacks, if_exists: true)
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_11_26_080118) do
ActiveRecord::Schema.define(version: 2021_11_26_150915) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -433,14 +433,6 @@ ActiveRecord::Schema.define(version: 2021_11_26_080118) do
t.datetime "updated_at", null: false
end
create_table "feedbacks", force: :cascade do |t|
t.bigint "user_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "rating", null: false
t.index ["user_id"], name: "index_feedbacks_on_user_id"
end
create_table "flipper_features", force: :cascade do |t|
t.string "key", null: false
t.datetime "created_at", null: false
@ -854,7 +846,6 @@ ActiveRecord::Schema.define(version: 2021_11_26_080118) do
add_foreign_key "dossiers", "users"
add_foreign_key "experts_procedures", "experts"
add_foreign_key "experts_procedures", "procedures"
add_foreign_key "feedbacks", "users"
add_foreign_key "france_connect_informations", "users"
add_foreign_key "geo_areas", "champs"
add_foreign_key "groupe_instructeurs", "procedures"