Skip to content

OBPIH-6114 Add tiered pricing to product supplier#4530

Merged
awalkowiak merged 2 commits intofeature/product-supplier-list-redesignfrom
OBPIH-6114
Mar 5, 2024
Merged

OBPIH-6114 Add tiered pricing to product supplier#4530
awalkowiak merged 2 commits intofeature/product-supplier-list-redesignfrom
OBPIH-6114

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.

3 participants