Skip to content

Commit

Permalink
Fix typoe
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Dec 1, 2023
1 parent 56ce1ea commit 73fb1d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class AddAdminCheckedByToSamples < ActiveRecord::Migration[7.0]
def change
return if Rails.env.production?

add_reference :training_data_code_tags_samples, :admin_checked_by, null: true, foreign_key: { to_table: :users }, index: { name: "index_code_tags_samples_on_admin_tagged_by_id" }, if_not_exists: true
add_reference :training_data_code_tags_samples, :admin_checked_by, null: true, foreign_key: { to_table: :users }, index: { name: "index_code_tags_samples_on_admin_checked_by_id" }, if_not_exists: true
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@
t.text "llm_tags"
t.bigint "community_checked_by_id"
t.bigint "admin_checked_by_id"
t.index ["admin_checked_by_id"], name: "index_code_tags_samples_on_admin_tagged_by_id"
t.index ["admin_checked_by_id"], name: "index_code_tags_samples_on_admin_checked_by_id"
t.index ["community_checked_by_id"], name: "index_code_tags_samples_on_community_tagged_by_id"
t.index ["exercise_id"], name: "index_training_data_code_tags_samples_on_exercise_id"
t.index ["solution_id"], name: "index_training_data_code_tags_samples_on_solution_id"
Expand Down

0 comments on commit 73fb1d5

Please sign in to comment.