diff --git a/src/main/resources/db/migration/V20231105001__create_supplier_table.sql b/src/main/resources/db/migration/V20231105001__create_supplier_table.sql new file mode 100644 index 0000000..375fc3d --- /dev/null +++ b/src/main/resources/db/migration/V20231105001__create_supplier_table.sql @@ -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 +); \ No newline at end of file