Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat build task models #4245

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Feat build task models #4245

merged 1 commit into from
Sep 6, 2023

Conversation

drewbo
Copy link
Contributor

@drewbo drewbo commented Aug 30, 2023

Changes proposed in this pull request:

  • Add build task DB models + migrations

security considerations

None

@drewbo drewbo force-pushed the feat-build-task-models branch from bef3075 to 4ca03be Compare August 31, 2023 15:20
@drewbo drewbo force-pushed the feat-build-task-models branch 4 times, most recently from 24e3573 to c52bfc0 Compare September 6, 2023 15:46
@drewbo drewbo requested a review from a team September 6, 2023 16:18
@drewbo drewbo force-pushed the feat-build-task-models branch from c52bfc0 to 332c932 Compare September 6, 2023 20:01
Copy link
Contributor

@apburnes apburnes left a comment

Choose a reason for hiding this comment

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

You missed a field in the sequelize model of the build task index.

{
name: 'build_task_build_id_type_index',
unique: true,
fields: ['buildId'],
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to add buildTaskTypeId based on the migration SQL.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Excellent catch. My kingdom for not having to write these schemas twice

@drewbo drewbo force-pushed the feat-build-task-models branch from 332c932 to 2605ebb Compare September 6, 2023 20:59
@apburnes apburnes self-requested a review September 6, 2023 21:53
Copy link
Contributor

@apburnes apburnes left a comment

Choose a reason for hiding this comment

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

🏗️

@drewbo drewbo merged commit 1176fff into main Sep 6, 2023
@drewbo drewbo deleted the feat-build-task-models branch September 6, 2023 22:05
@drewbo drewbo mentioned this pull request Sep 6, 2023
3 tasks
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