diff --git a/db/migrate/20211126150915_dropfeedbackstable.rb b/db/migrate/20211126150915_dropfeedbackstable.rb new file mode 100644 index 000000000..a37442b4c --- /dev/null +++ b/db/migrate/20211126150915_dropfeedbackstable.rb @@ -0,0 +1,5 @@ +class Dropfeedbackstable < ActiveRecord::Migration[6.1] + def up + drop_table(:feedbacks, if_exists: true) + end +end diff --git a/db/schema.rb b/db/schema.rb index d9eaf5fab..9d45dd8de 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"