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

OBPIH-6114 Add tiered pricing to product supplier #4530

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

awalkowiak
Copy link
Collaborator

No description provided.


addColumn(tableName: "product_supplier") {
column(name: "tiered_pricing", type: "bit") {
constraints(nullable: "false")
Copy link
Collaborator

Choose a reason for hiding this comment

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

should it be nullable: false if it's considered as an optional field?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I mean - what with already existing product sources? If we don't want to allow null, shouldn't we add a default bool value in migration?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Existing ones got false by default.

@awalkowiak awalkowiak merged commit ffc52b3 into feature/product-supplier-list-redesign Mar 5, 2024
@awalkowiak awalkowiak deleted the OBPIH-6114 branch March 5, 2024 12:58
awalkowiak added a commit that referenced this pull request Mar 12, 2024
* OBPIH-6114 Add tiered pricing to product supplier

* OBPIH-6114 Set default tiered pricing to false on command
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.

None yet

3 participants