diff --git a/db/migrate/20230809002819_drop_languages_users.rb b/db/migrate/20230809002819_drop_languages_users.rb new file mode 100644 index 0000000000..fbdc762d4f --- /dev/null +++ b/db/migrate/20230809002819_drop_languages_users.rb @@ -0,0 +1,9 @@ +class DropLanguagesUsers < ActiveRecord::Migration[7.0] + def up + drop_table :languages_users + end + + def down + fail ActiveRecord::IrreversibleMigration + end +end diff --git a/db/schema.rb b/db/schema.rb index 540ef8412e..4b1b859b77 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[7.0].define(version: 2023_07_30_103110) do +ActiveRecord::Schema[7.0].define(version: 2023_08_09_002819) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -370,13 +370,6 @@ t.index ["casa_org_id"], name: "index_languages_on_casa_org_id" end - create_table "languages_users", id: false, force: :cascade do |t| - t.bigint "language_id", null: false - t.bigint "user_id", null: false - t.index ["language_id"], name: "index_languages_users_on_language_id" - t.index ["user_id"], name: "index_languages_users_on_user_id" - end - create_table "learning_hour_types", force: :cascade do |t| t.bigint "casa_org_id", null: false t.string "name"