-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
src/main/resources/db/migration/V20231105001__create_supplier_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CREATE TABLE supplier_product ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
product_model TEXT NOT NULL, | ||
delivery_time TEXT, -- SQLite does not have a Date type, so it's common to store dates as TEXT, REAL, or INTEGER | ||
product_price REAL, | ||
deliverable_quantity INTEGER, | ||
trading_counterparty TEXT, | ||
advance_payment_ratio REAL | ||
); |