@@ -48,13 +48,13 @@ public function initFieldDefinitions() : static
4848 if (! \count (static ::$ fields ))
4949 {
5050 static ::$ fields = [
51- 'customer_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , NULL , ),
52- 'employee_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , NULL , ),
51+ 'customer_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , null , ),
52+ 'employee_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , null , ),
5353 'notes ' => new \PHPFUI \ORM \FieldDefinition ('longtext ' , 'string ' , 4294967295 , true , null , ),
5454 'order_date ' => new \PHPFUI \ORM \FieldDefinition ('datetime ' , 'string ' , 20 , false , 'CURRENT_TIMESTAMP ' , ),
5555 'order_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , false , ),
5656 'order_status_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , 0 , ),
57- 'order_tax_status_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , NULL , ),
57+ 'order_tax_status_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , null , ),
5858 'paid_date ' => new \PHPFUI \ORM \FieldDefinition ('datetime ' , 'string ' , 20 , true , null , ),
5959 'payment_type ' => new \PHPFUI \ORM \FieldDefinition ('varchar(50) ' , 'string ' , 50 , true , null , ),
6060 'ship_address ' => new \PHPFUI \ORM \FieldDefinition ('longtext ' , 'string ' , 4294967295 , true , null , ),
@@ -64,7 +64,7 @@ public function initFieldDefinitions() : static
6464 'ship_state_province ' => new \PHPFUI \ORM \FieldDefinition ('varchar(50) ' , 'string ' , 50 , true , null , ),
6565 'ship_zip_postal_code ' => new \PHPFUI \ORM \FieldDefinition ('varchar(50) ' , 'string ' , 50 , true , null , ),
6666 'shipped_date ' => new \PHPFUI \ORM \FieldDefinition ('datetime ' , 'string ' , 20 , true , null , ),
67- 'shipper_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , NULL , ),
67+ 'shipper_id ' => new \PHPFUI \ORM \FieldDefinition ('integer ' , 'int ' , 0 , true , null , ),
6868 'shipping_fee ' => new \PHPFUI \ORM \FieldDefinition ('decimal(19,4) ' , 'float ' , 20 , true , 0.0000 , ),
6969 'tax_rate ' => new \PHPFUI \ORM \FieldDefinition ('double ' , 'float ' , 0 , true , 0 , ),
7070 'taxes ' => new \PHPFUI \ORM \FieldDefinition ('decimal(19,4) ' , 'float ' , 20 , true , 0.0000 , ),
0 commit comments