优化
This commit is contained in:
@@ -58,7 +58,9 @@ test('customer identity joins use the same explicit collation as existing fulfil
|
||||
test('commercial schemas do not invent container or palletizing facts for pool orders', () => {
|
||||
for (const name of ['ll_local_looseboard_order']) {
|
||||
const definition = table(overseas, 'baiyue_lastleg', name)
|
||||
assert.match(definition, /container_type\s+varchar\(32\)(?:\s+COLLATE\s+\w+)?\s+(?:NULL\s+)?DEFAULT NULL/i)
|
||||
assert.doesNotMatch(definition, /container_type/i)
|
||||
assert.match(definition, /estimated_pallet_count INT NULL/i)
|
||||
assert.match(definition, /product_name VARCHAR\(255\) NULL/i)
|
||||
assert.doesNotMatch(definition, /container_type[^\n]*DEFAULT '40HQ'/i)
|
||||
}
|
||||
assert.doesNotMatch(table(overseas, 'baiyue_lastleg', 'll_us_truck_order'), /container_type/i)
|
||||
|
||||
Reference in New Issue
Block a user