diff --git a/db/migrate/20241107133957_update_bootcamp_data_fields.rb b/db/migrate/20241107133957_update_bootcamp_data_fields.rb index b23e749711..3c9d662629 100644 --- a/db/migrate/20241107133957_update_bootcamp_data_fields.rb +++ b/db/migrate/20241107133957_update_bootcamp_data_fields.rb @@ -1,5 +1,7 @@ class UpdateBootcampDataFields < ActiveRecord::Migration[7.0] def change + return if Rails.env.production? + change_column_null :user_bootcamp_data, :user_id, true add_column :user_bootcamp_data, :checkout_session_id, :string end