Skip to content

Commit

Permalink
Remove the A level requirements from the DB
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-stefano committed Jul 8, 2024
1 parent 8590890 commit 4ffa632
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class RemoveALevelRequirementsFromCourse < ActiveRecord::Migration[7.1]
def change
change_table :course, bulk: true do |t|
t.remove :a_level_requirements, type: :boolean
end
end
end
3 changes: 1 addition & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.1].define(version: 2024_06_26_152102) do
ActiveRecord::Schema[7.1].define(version: 2024_07_08_162024) do
# These are extensions that must be enabled in order to support this database
enable_extension "btree_gin"
enable_extension "btree_gist"
Expand Down Expand Up @@ -152,7 +152,6 @@
t.integer "master_subject_id"
t.integer "campaign_name"
t.integer "application_status", default: 0, null: false
t.boolean "a_level_requirements"
t.jsonb "a_level_subject_requirements", default: []
t.boolean "accept_pending_a_level"
t.boolean "accept_a_level_equivalency"
Expand Down
Binary file modified docs/database-diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ffa632

Please sign in to comment.