Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YZ4DskSRKsSiheQonFtQvx
This commit is contained in:
@@ -327,6 +327,7 @@ func SetupTestDB() *gorm.DB {
|
||||
order_date DATETIME,
|
||||
total_amount REAL DEFAULT 0,
|
||||
reviewed_at DATETIME,
|
||||
return_state TEXT DEFAULT 'none',
|
||||
custom_fields TEXT,
|
||||
remark TEXT
|
||||
)`,
|
||||
@@ -346,6 +347,7 @@ func SetupTestDB() *gorm.DB {
|
||||
quantity REAL NOT NULL,
|
||||
unit_price REAL DEFAULT 0,
|
||||
total_price REAL DEFAULT 0,
|
||||
returned_quantity REAL DEFAULT 0,
|
||||
batch_no TEXT,
|
||||
production_date DATETIME,
|
||||
custom_fields TEXT,
|
||||
@@ -368,6 +370,7 @@ func SetupTestDB() *gorm.DB {
|
||||
order_date DATETIME,
|
||||
total_amount REAL DEFAULT 0,
|
||||
reviewed_at DATETIME,
|
||||
return_state TEXT DEFAULT 'none',
|
||||
custom_fields TEXT,
|
||||
remark TEXT
|
||||
)`,
|
||||
@@ -387,6 +390,7 @@ func SetupTestDB() *gorm.DB {
|
||||
quantity REAL NOT NULL,
|
||||
unit_price REAL DEFAULT 0,
|
||||
total_price REAL DEFAULT 0,
|
||||
returned_quantity REAL DEFAULT 0,
|
||||
batch_no TEXT,
|
||||
production_date DATETIME,
|
||||
custom_fields TEXT,
|
||||
|
||||
Reference in New Issue
Block a user