Skip to content

add unique index to xp awards source_id / award-type#250

Merged
mcfiredrill merged 2 commits intomainfrom
xp-awards-unique-indx
Apr 21, 2026
Merged

add unique index to xp awards source_id / award-type#250
mcfiredrill merged 2 commits intomainfrom
xp-awards-unique-indx

Conversation

@mcfiredrill
Copy link
Copy Markdown
Member

@mcfiredrill mcfiredrill commented May 8, 2023

TODO

  • what if source_id is null????

Copy link
Copy Markdown
Contributor

@SamRaymer SamRaymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo let's just try running it and see if it breaks. we can auto-assign some IDs with a script if there are any errors

Comment thread db/schema.rb Outdated
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2023_04_29_171319) do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maybe remove this

Comment thread db/schema.rb Outdated
@mcfiredrill mcfiredrill force-pushed the xp-awards-unique-indx branch from f224f64 to 069e3d8 Compare April 21, 2026 00:36
@mcfiredrill mcfiredrill merged commit fd5a8f8 into main Apr 21, 2026
2 checks passed
@mcfiredrill mcfiredrill deleted the xp-awards-unique-indx branch April 21, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants